Re: pstore: fix leaking ->i_private

From: Al Viro
Date: Fri Mar 18 2011 - 14:58:01 EST

On Fri, Mar 18, 2011 at 11:44:48AM -0700, Luck, Tony wrote:
> From: Tony Luck <tony.luck@xxxxxxxxx>
> Move kfree() of i_private out of ->unlink() and into ->evict_inode()
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>

Applied (with one trivial change - in your case it doesn't matter, but
people do copy from weird places and conceptually you want to get VFS
end any async activity on inode before starting to tear it apart, so
end_writeback() should normally go first).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at