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 <email@example.com>
Signed-off-by: Achilles Gaikwad <firstname.lastname@example.org>
Reviewed-by: Darrick J. Wong <email@example.com>
Signed-off-by: Eric Sandeen <firstname.lastname@example.org>
1 file changed