From: Christoph Hellwig Date: Fri, 27 Jun 2008 03:32:19 +0000 (+1000) Subject: [XFS] Check for invalid flags in xfs_attrlist_by_handle. X-Git-Tag: v2.6.27-rc2~91^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90ad58a83accbeb8de09de4a55d3e6b429767eae;p=pandora-kernel.git [XFS] Check for invalid flags in xfs_attrlist_by_handle. xfs_attrlist_by_handle should only take the ATTR_ flags for the root namespaces. The ATTR_KERN* flags may change at anytime and expect special preconditions that can't be guaranteed for userspace-originating requests. For example passing down ATTR_KERNNOVAL through xfs_attrlist_by_handle will hit an assert in debug builds currently. SGI-PV: 983677 SGI-Modid: xfs-linux-melb:xfs-kern:31351a Signed-off-by: Christoph Hellwig Signed-off-by: Tim Shimmin Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed