tmp_suning_uos_patched/fs/ocfs2
Christoph Hellwig 431547b3c4 sanitize xattr handler prototypes
Add a flags argument to struct xattr_handler and pass it to all xattr
handler methods.  This allows using the same methods for multiple
handlers, e.g. for the ACL methods which perform exactly the same action
for the access and default ACLs, just using a different underlying
attribute.  With a little more groundwork it'll also allow sharing the
methods for the regular user/trusted/secure handlers in extN, ocfs2 and
jffs2 like it's already done for xfs in this patch.

Also change the inode argument to the handlers to a dentry to allow
using the handlers mechnism for filesystems that require it later,
e.g. cifs.

[with GFS2 bits updated by Steven Whitehouse <swhiteho@redhat.com>]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2009-12-16 12:16:49 -05:00
..
cluster
dlm tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
acl.c sanitize xattr handler prototypes 2009-12-16 12:16:49 -05:00
acl.h
alloc.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
alloc.h
aops.c
aops.h
blockcheck.c
blockcheck.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c
dir.h
dlmglue.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
dlmglue.h
export.c
export.h
extent_map.c
extent_map.h
file.c vfs: Implement proper O_SYNC semantics 2009-12-10 15:02:50 +01:00
file.h
heartbeat.c
heartbeat.h
inode.c
inode.h
ioctl.c
ioctl.h
journal.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
journal.h
Kconfig
localalloc.c
localalloc.h
locks.c
locks.h
Makefile
mmap.c
mmap.h
namei.c
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2.h
quota_global.c
quota_local.c const: struct quota_format_ops 2009-12-10 15:02:51 +01:00
quota.h quota: Move definition of QFMT_OCFS2 to linux/quota.h 2009-12-10 15:02:53 +01:00
refcounttree.c Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
refcounttree.h
resize.c
resize.h
slot_map.c
slot_map.h
stack_o2cb.c
stack_user.c
stackglue.c
stackglue.h
suballoc.c
suballoc.h
super.c
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
xattr.c sanitize xattr handler prototypes 2009-12-16 12:16:49 -05:00
xattr.h