[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220225232834.GR3061737@dread.disaster.area>
Date: Sat, 26 Feb 2022 10:28:34 +1100
From: Dave Chinner <david@...morbit.com>
To: Artem Blagodarenko <artem.blagodarenko@...il.com>
Cc: linux-ext4@...r.kernel.org, adilger.kernel@...ger.ca,
Andrew Perepechko <andrew.perepechko@....com>
Subject: Re: [PATCH] ext4: truncate during setxattr leads to kernel panic
On Fri, Feb 25, 2022 at 06:04:13AM -0500, Artem Blagodarenko wrote:
> @@ -1791,7 +1821,7 @@ static int ext4_xattr_set_entry(struct ext4_xattr_info *i,
> ret = 0;
> out:
> iput(old_ea_inode);
> - iput(new_ea_inode);
> + delayed_iput(old_ea_inode, diwork);
That looks broken....
Cheers,
Dave.
--
Dave Chinner
david@...morbit.com
Powered by blists - more mailing lists