]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 3 Aug 2012 09:21:27 +0000 (10:21 +0100)
commitf90976466fcacea047d06f7c5313502397c55f36
treec5144310daa35892163d151c58c2c3a1c3bc4466
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
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