f2fs: call f2fs_balance_fs for setattr
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 14 Oct 2016 20:30:31 +0000 (13:30 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:11:05 +0000 (12:11 -0800)
commit15d04354555fdfe8005e1365009e349148fb5f90
tree87ca705711f58273555ff0188967a905a7966aa8
parentb9610bdfcbdbb6017802ec6d1e073f445c98157d
f2fs: call f2fs_balance_fs for setattr

If inode becomes dirty, we need to check the # of dirty inodes whether or not
further checkpoint would be required.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c