]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit936b8834366ec05f2a6993f73afd8348cac9718e
tree6f1d4b4e7586599bd11ff92a88a751aa78ce1a4b
parent2057e5c6780d86939a199031cdbafb81e6f88aac
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