[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210121192133.GA9807@jeffrey-work-20.04>
Date: Thu, 21 Jan 2021 13:21:33 -0600
From: Jeffrey Mitchell <jeffrey.mitchell@...rlab.io>
To: "Darrick J. Wong" <djwong@...nel.org>
Cc: linux-xfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xfs: set inode size after creating symlink
On Thu, Jan 21, 2021 at 10:41:37AM -0800, Darrick J. Wong wrote:
> Do directories have the same problem?
Yes, I just checked in a VM. While ecryptfs does call vfs_getattr(), it
only uses the "blocks" value to supplement the data from an identical
generic_fillattr() call to what ecryptfs_getattr_link() uses. The reported
size still comes from i_size_read().
V/R,
Jeffrey Mitchell
Powered by blists - more mailing lists