Whamcloud - gitweb
LU-1838 llite: trusted. xattr is invisible to non-root
authorFan Yong <yong.fan@whamcloud.com>
Thu, 6 Sep 2012 16:18:05 +0000 (00:18 +0800)
committerJohann Lombardi <johann@whamcloud.com>
Thu, 13 Sep 2012 08:32:58 +0000 (04:32 -0400)
commit215e3df27dbcb56ee014aba9c4f53b539fee4ba0
treee91f2aa526f1165cc70c6b0fbcde6217cd561d79
parentbd649b14d6895ce808047ce0edda20928cca0dc1
LU-1838 llite: trusted. xattr is invisible to non-root

Filter out all invalid xattrs in listxattr.
This includes trusted. xattrs that can cause
unnecessary "EPERM" in subsequent getxattr operations.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Signed-off-by: Bob Glossman <bogl@whamcloud.com>
Change-Id: I9613444adcdb14067a775f68f951af7a9b941e9a
Reviewed-on: http://review.whamcloud.com/3892
Tested-by: Hudson
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/llite/xattr.c
lustre/tests/sanity.sh