]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Refactor xattr list and remove ocfs2_xattr_handler().
authorTao Ma <tao.ma@oracle.com>
Thu, 9 Oct 2008 15:06:14 +0000 (23:06 +0800)
committerMark Fasheh <mfasheh@suse.com>
Tue, 14 Oct 2008 00:02:45 +0000 (17:02 -0700)
commit8785f99eab798fc0cb56218e95f017914af6e658
tree6f1d4b4e7586599bd11ff92a88a751aa78ce1a4b
parent8c018f39fd1b83027b9c301130853ca2c40ad618
ocfs2: Refactor xattr list and remove ocfs2_xattr_handler().

According to Christoph Hellwig's advice, we really don't need
a ->list to handle one xattr's list. Just a map from index to
xattr prefix is enough. And I also refactor the old list method
with the reference from fs/xfs/linux-2.6/xfs_xattr.c and the
xattr list method in btrfs.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c