xfs_quota: fix false error reporting of project inheritance flag is not set
After kernel commit:
9336e3a7 "xfs: project id inheritance is a directory only flag"
xfs stopped setting the project inheritance flag on regular files, but
userspace quota code still checks for it and will now issue the error:
"project inheritance flag is not set"
for every regular file during quotacheck. Fix this by only checking
for the flag on directories.
Reported-by: Steven Gardner <firstname.lastname@example.org>
Signed-off-by: Achilles Gaikwad <email@example.com>
Reviewed-by: Darrick J. Wong <firstname.lastname@example.org>
Signed-off-by: Eric Sandeen <email@example.com>
1 file changed