diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-03-12 03:59:03 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-03-12 04:23:35 -0400 |
commit | 987c7c31123fd36c1f792ff53ff131378475f5c8 (patch) | |
tree | afd534e3b4d00e58abd2125e18d4ba36ea717f6c /fs/f2fs/node.c | |
parent | 28cdce0459ccea71ea734d7903d39910d1c6a05d (diff) |
f2fs: introduce f2fs_has_inline_xattr for better readability
This patch introduces a help function f2fs_has_inline_xattr for better
readability.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r-- | fs/f2fs/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index e72b2585de68..c618fad3e6c3 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c | |||
@@ -1501,7 +1501,7 @@ void recover_inline_xattr(struct inode *inode, struct page *page) | |||
1501 | struct page *ipage; | 1501 | struct page *ipage; |
1502 | struct f2fs_inode *ri; | 1502 | struct f2fs_inode *ri; |
1503 | 1503 | ||
1504 | if (!is_inode_flag_set(F2FS_I(inode), FI_INLINE_XATTR)) | 1504 | if (!f2fs_has_inline_xattr(inode)) |
1505 | return; | 1505 | return; |
1506 | 1506 | ||
1507 | if (!IS_INODE(page)) | 1507 | if (!IS_INODE(page)) |