summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inode.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2014-03-18 12:33:06 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-03-18 12:34:30 +0900
commitf8b2c1f940dca2843fe13b55ba5868bac8040551 (patch)
tree3ef6e0fb1b088148800c74343ab8a02264b073ba /fs/f2fs/inode.c
parent04c0938844695ab97b79a477a9f57748fe97d2f5 (diff)
downloadtalos-obmc-linux-f8b2c1f940dca2843fe13b55ba5868bac8040551.tar.gz
talos-obmc-linux-f8b2c1f940dca2843fe13b55ba5868bac8040551.zip
f2fs: introduce get_dirty_dents for readability
The get_dirty_dents gives us the number of dirty dentry pages. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/inode.c')
-rw-r--r--fs/f2fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c
index d518e37df3a7..0d8e4a2302b7 100644
--- a/fs/f2fs/inode.c
+++ b/fs/f2fs/inode.c
@@ -273,7 +273,7 @@ void f2fs_evict_inode(struct inode *inode)
inode->i_ino == F2FS_META_INO(sbi))
goto no_delete;
- f2fs_bug_on(atomic_read(&F2FS_I(inode)->dirty_dents));
+ f2fs_bug_on(get_dirty_dents(inode));
remove_dirty_dir_inode(inode);
if (inode->i_nlink || is_bad_inode(inode))
OpenPOWER on IntegriCloud