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)
commit7ddf79a103958ff7e529a3bc0c5b3d1e9cbc22c7
treeee1c8feceb4f4a0126f56f6e401398178e2678e7
parent02b016ca7f99229ae6227e7b2fc950c4e140d74a
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