]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8fbc4e4309e1313a91e3896c9ba308cc9dd7f2b
tree9cb566091b008512cdee731cb5502794c9d06c1a
parenta7263a02cb2267259b4e4e2a8dabf7b6ce25936a
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