diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-01 04:09:37 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-07-08 19:34:09 +0200 |
commit | b56ab837a06f3042a54b17a2a4ab3300eb03ecf5 (patch) | |
tree | a5bf616a10f15b4d533aca11464968690f121036 /fs/f2fs/acl.c | |
parent | f2fs: move i_size_write in f2fs_write_end (diff) | |
download | linux-b56ab837a06f3042a54b17a2a4ab3300eb03ecf5.tar.xz linux-b56ab837a06f3042a54b17a2a4ab3300eb03ecf5.zip |
f2fs: avoid mark_inode_dirty
Let's check inode's dirtiness before calling mark_inode_dirty.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/acl.c')
-rw-r--r-- | fs/f2fs/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/acl.c b/fs/f2fs/acl.c index 6a414e75e705..4dcc9e28dc5c 100644 --- a/fs/f2fs/acl.c +++ b/fs/f2fs/acl.c @@ -384,7 +384,7 @@ int f2fs_init_acl(struct inode *inode, struct inode *dir, struct page *ipage, if (error) return error; - mark_inode_dirty_sync(inode); + f2fs_mark_inode_dirty_sync(inode); if (default_acl) { error = __f2fs_set_acl(inode, ACL_TYPE_DEFAULT, default_acl, |