]> 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)
commit5915a38cf73ac3fbcda43fd214e819e0d19b1f8f
tree9cb566091b008512cdee731cb5502794c9d06c1a
parent9a22a6c31af4940e45f8256218b51118e4f04522
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