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