]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
reiserfs: use generic xattr handlers
authorJeff Mahoney <jeffm@suse.com>
Mon, 30 Mar 2009 18:02:38 +0000 (14:02 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Mar 2009 19:16:38 +0000 (12:16 -0700)
commit48b32a3553a54740d236b79a90f20147a25875e3
treefaf6807facb5825608469a9e33c9127f90b974df
parent8ecbe550a142fe604874afa477ea68986f89b86c
reiserfs: use generic xattr handlers

Christoph Hellwig had asked me quite some time ago to port the reiserfs
xattrs to the generic xattr interface.

This patch replaces the reiserfs-specific xattr handling code with the
generic struct xattr_handler.

However, since reiserfs doesn't split the prefix and name when accessing
xattrs, it can't leverage generic_{set,get,list,remove}xattr without
needlessly reconstructing the name on the back end.

Update 7/26/07: Added missing dput() to deletion path.
Update 8/30/07: Added missing mark_inode_dirty when i_mode is used to
                represent an ACL and no previous ACL existed.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/super.c
fs/reiserfs/xattr.c
fs/reiserfs/xattr_acl.c
fs/reiserfs/xattr_security.c
fs/reiserfs/xattr_trusted.c
fs/reiserfs/xattr_user.c
include/linux/reiserfs_acl.h
include/linux/reiserfs_fs_sb.h
include/linux/reiserfs_xattr.h