]> git.baikalelectronics.ru Git - kernel.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)
commit956ec8b46e316e5dc0ee2518cddb80fdeaa365ec
treefaf6807facb5825608469a9e33c9127f90b974df
parente72c8a66702ec46a19c257551fa43250816f5590
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