Thread (1 message) 1 message, 1 author, 2015-08-12

Re: [PATCH] fs: Set the size of empty dirs to 0.

From: Tejun Heo <hidden>
Date: 2015-08-12 20:18:05
Also in: linux-fsdevel

On Wed, Aug 12, 2015 at 03:07:19PM -0500, Eric W. Biederman wrote:
Before the make_empty_dir_inode calls were introduce into proc, sysfs,
and sysctl those directories when stated reported an i_size of 0.
make_empty_dir_inode started reporting an i_size of 2.  At least one
userspace application depended on stat returning i_size of 0.  So modify
make_empty_dir_inode to cause an i_size of 0 to be reported for these
directories.

Cc: <redacted>
Reproted-by: Tejun Heo [off-list ref]
    ^^^
Signed-off-by: "Eric W. Biederman" <redacted>
Acked-by: Tejun Heo <redacted>

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help