f2fs: only set project inherit bit for directory
authorWang Shilong <wshilong@ddn.com>
Thu, 13 Jun 2019 07:29:53 +0000 (16:29 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 21 Jun 2019 17:41:57 +0000 (10:41 -0700)
commit5043a9643fe65347badf33dca9e045d991e9c049
treebded590b8722acae5edcb19beaed2ba2d9b8039d
parent360985573b556db415daf93e34ce103ec0ee1fe5
f2fs: 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.

Cc: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/inode.c