f2fs: introduce __find_xattr for readability
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 13 Aug 2013 01:13:55 +0000 (10:13 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 26 Aug 2013 11:15:06 +0000 (20:15 +0900)
commitdd9cfe236f95bbda9ceb5a4ca419b9fb574c95f9
tree3b0c9bd1cea176d45492cdea3ba2dab20e703ecf
parentde93653fe31fc9439971296842dcd0280f8ab5f4
f2fs: introduce __find_xattr for readability

The __find_xattr is to search the wanted xattr entry starting from the
base_addr.

If not found, the returned entry is the last empty xattr entry that can be
allocated newly.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/xattr.c
fs/f2fs/xattr.h