An error occurred while fetching folder content.
9p: xattr simplifications
Andreas Gruenbacher authored
Now that the xattr handler is passed to the xattr handler operations, we
can use the same get and set operations for the user, trusted, and security
xattr namespaces.  In those namespaces, we can access the full attribute
name by "reattaching" the name prefix the vfs has skipped for us.  Add a
xattr_full_name helper to make this obvious in the code.

For the "system.posix_acl_access" and "system.posix_acl_default"
attributes, handler->prefix is the full attribute name; the suffix is the
empty string.
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Cc: v9fs-developer@lists.sourceforge.net
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
e409de99
Name Last commit Last update
..
9p 9p: xattr simplifications
adfs fs/adfs: remove unneeded cast
affs fs/affs: make root lookup from blkdev logical size
afs net: Add a struct net parameter to sock_create_kern
autofs4 make simple_positive() public
befs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
bfs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
btrfs Merge branch 'akpm' (patches from Andrew)
cachefiles FS-Cache: Handle a write to the page immediately beyond the EOF marker
ceph mm, fs: introduce mapping_gfp_constraint()
cifs Merge branch 'akpm' (patches from Andrew)
coda fs/coda: fix readlink buffer overflow
configfs configfs: fix kernel infoleak through user-controlled format string
cramfs fs/cramfs/inode.c: use linux/uaccess.h
debugfs debugfs: fix refcount imbalance in start_creating
devpts devpts: if initialization failed, don't crash when opening /dev/ptmx
dlm Merge tag 'dlm-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm
ecryptfs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
efivarfs Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
efs fs/efs: femove unneeded cast
exofs pagemap.h: move dir_pages() over there
exportfs VFS: (Scripted) Convert S_ISLNK/DIR/REG(dentry->d_inode) to d_is_*(dentry)
ext2 xattr handlers: Pass handler to operations instead of flags
ext4 xattr handlers: Pass handler to operations instead of flags
f2fs xattr handlers: Pass handler to operations instead of flags
fat
freevxfs
fscache
fuse
gfs2
hfs
hfsplus
hostfs
hpfs
hugetlbfs
isofs
jbd2
jffs2
jfs
kernfs
lockd
logfs
minix
ncpfs
nfs
nfs_common
nfsd
nilfs2
nls
notify
ntfs
ocfs2
omfs
openpromfs
overlayfs
proc
pstore
qnx4
qnx6
quota
ramfs
reiserfs
romfs
squashfs
sysfs
sysv
tracefs
ubifs
udf
ufs
xfs
Kconfig
Kconfig.binfmt
Makefile
aio.c
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
block_dev.c
buffer.c
char_dev.c
compat.c
compat_binfmt_elf.c
compat_ioctl.c
coredump.c
dax.c
dcache.c
dcookies.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c