Whamcloud - gitweb
LU-532 llite: trusted. xattr is invisible to non-root
authorBob Glossman <bogl@whamcloud.com>
Thu, 17 May 2012 18:41:59 +0000 (11:41 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 May 2012 06:03:45 +0000 (02:03 -0400)
commit696f7f219ea326dcf414c407b1cb3bd1a8632cf2
tree768ff2418179ae8d5ba071de3b0bcbfbe8fbc2c5
parentd2cb2e78da8eb9e9a80861fe6cb4ffbde8ba223f
LU-532 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: Ic32fe262772370cd837bef878c9bfd9eefc0ec3c
Reviewed-on: http://review.whamcloud.com/2490
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/xattr.c
lustre/tests/sanity.sh