summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/acl.c
diff options
context:
space:
mode:
authorGu Zheng2014-10-20 11:45:52 +0200
committerJaegeuk Kim2014-11-04 01:07:36 +0100
commitfa528722d06ecbee9d918b9eec58c5d4c2978839 (patch)
tree7cc2e12bca4f6a077cfc42319c55b4d8dde4cb1c /fs/f2fs/acl.c
parentf2fs: remove the seems unneeded argument 'type' from __get_victim (diff)
downloadkernel-qcow2-linux-fa528722d06ecbee9d918b9eec58c5d4c2978839.tar.gz
kernel-qcow2-linux-fa528722d06ecbee9d918b9eec58c5d4c2978839.tar.xz
kernel-qcow2-linux-fa528722d06ecbee9d918b9eec58c5d4c2978839.zip
f2fs: remove the redundant function cond_clear_inode_flag
Use clear_inode_flag to replace the redundant cond_clear_inode_flag. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/acl.c')
-rw-r--r--fs/f2fs/acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/acl.c b/fs/f2fs/acl.c
index 620745556828..1ccb26bc2a0b 100644
--- a/fs/f2fs/acl.c
+++ b/fs/f2fs/acl.c
@@ -236,7 +236,7 @@ static int __f2fs_set_acl(struct inode *inode, int type,
if (acl) {
value = f2fs_acl_to_disk(acl, &size);
if (IS_ERR(value)) {
- cond_clear_inode_flag(fi, FI_ACL_MODE);
+ clear_inode_flag(fi, FI_ACL_MODE);
return (int)PTR_ERR(value);
}
}
@@ -247,7 +247,7 @@ static int __f2fs_set_acl(struct inode *inode, int type,
if (!error)
set_cached_acl(inode, type, acl);
- cond_clear_inode_flag(fi, FI_ACL_MODE);
+ clear_inode_flag(fi, FI_ACL_MODE);
return error;
}