From: Dave Chinner Date: Wed, 1 Oct 2014 23:18:40 +0000 (+1000) Subject: xfs: project id inheritance is a directory only flag X-Git-Tag: fixes-against-v3.18-rc2~104^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9336e3a765b68d4a7fdd8256f393ebce95ecb0a7;p=pandora-kernel.git xfs: project id inheritance is a directory only flag xfs_set_diflags() allows it to be set on non-directory inodes, and this flags errors in xfs_repair. Further, inode allocation allows the same directory-only flag to be inherited to non-directories. Make sure directory inode flags don't appear on other types of inodes. This fixes several xfstests scratch fileystem corruption reports (e.g. xfs/050) now that xfstests checks scratch filesystems after test completion. Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed