Whamcloud - gitweb
LU-12383 utils: only check project inherit bit for dir 76/35076/2
authorWang Shilong <wshilong@ddn.com>
Thu, 6 Jun 2019 02:36:39 +0000 (10:36 +0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 16 Jun 2019 03:31:54 +0000 (03:31 +0000)
commite4ad5c17c99e7ede5deabffe0bacdd851240eb86
tree312f876ec1bb36ec0e9a87bfe60bc2f2666b52ee
parentf000996069acc7d535b7574a9d9a4ab65e753ff0
LU-12383 utils: only check project inherit bit for dir

Currently, ZFS won't set inherit bit on regular files, but
ext4 always set it, it doesn't make sense for regular files
have this bit, but own it won't do any harm as well.

To make test happy and give a consistent view on users,
let's fix project check only complain erros for Direcotry.

Test-Parameters: trivial testlist=sanity-quota
Change-Id: I194f3ed9d6ded69313a683995295ab8c07b4fb3a
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/35076
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh
lustre/utils/lfs_project.c