summaryrefslogtreecommitdiff
path: root/fs/f2fs/acl.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2014-04-23 07:23:14 +0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-05-07 05:21:56 +0400
commitc02745ef684f9a6f98f30388ed048ee460db5483 (patch)
tree47ee64820f98b6b6dd679565217b7258a4a31ec5 /fs/f2fs/acl.c
parente112326805a50ee2016faf0971660122471f7c04 (diff)
downloadlinux-c02745ef684f9a6f98f30388ed048ee460db5483.tar.xz
f2fs: pass flags field to setxattr functions
This patch passes the "flags" field to the low level setxattr functions to use XATTR_REPLACE in the following patches. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/acl.c')
-rw-r--r--fs/f2fs/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/acl.c b/fs/f2fs/acl.c
index e93e4ec7d165..dbe2141d10ad 100644
--- a/fs/f2fs/acl.c
+++ b/fs/f2fs/acl.c
@@ -240,7 +240,7 @@ static int __f2fs_set_acl(struct inode *inode, int type,
}
}
- error = f2fs_setxattr(inode, name_index, "", value, size, ipage);
+ error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0);
kfree(value);
if (!error)