]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: only set project inherit bit for directory
authorWang Shilong <wshilong@ddn.com>
Mon, 10 Jun 2019 04:13:32 +0000 (00:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Jun 2019 04:13:32 +0000 (00:13 -0400)
commita3db574d349888ed82897265c259d7f46d52f96f
treeee1c8feceb4f4a0126f56f6e401398178e2678e7
parent47a40534205e9abb8d6e7a678f5439b42aa6558f
ext4: only set project inherit bit for directory

It doesn't make any sense to have project inherit bits
for regular files, even though this won't cause any
problem, but it is better fix this.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
fs/ext4/ext4.h
fs/ext4/ioctl.c