]> git.ipfire.org Git - people/ms/linux.git/commit - fs/gfs2/xattr.c
GFS2: Merge two nearly identical xattr functions
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 26 Jul 2012 10:26:36 +0000 (11:26 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 24 Sep 2012 09:46:53 +0000 (10:46 +0100)
commit1f981697432daea3c0abf938b39174dcfb29340e
treebcb4123f50445ab93d752e925ab88a6cfe6cf8fb
parent979570e02981d4a8fc20b3cc8fd651856c98ee9d
GFS2: Merge two nearly identical xattr functions

There were two functions in the xattr code which were nearly
identical, the only difference being that one was copy data into
the unstuffed xattrs and the other was copying data out from it.

This patch merges the two functions such that the code which deal
with iteration over the unstuffed xattrs is no longer duplicated.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/xattr.c