f2fs: fix the use of XATTR_NODE_OFFSET
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 8 Aug 2013 23:14:06 +0000 (08:14 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 9 Aug 2013 05:57:56 +0000 (14:57 +0900)
commitdbe6a5ff4fa78bdfa983458c338831d91b35f315
tree9cb566091b008512cdee731cb5502794c9d06c1a
parentc2d715d144af7209d035d0fe0b20a7a591c22c21
f2fs: fix the use of XATTR_NODE_OFFSET

This patch fixes the use of XATTR_NODE_OFFSET.

o The offset should not use several MSB bits which are used by marking node
blocks.

o IS_DNODE should handle XATTR_NODE_OFFSET to avoid potential abnormality
during the fsync call.

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