]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: support journalled quota
authorChao Yu <yuchao0@huawei.com>
Tue, 8 Aug 2017 02:54:31 +0000 (10:54 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 21 Aug 2017 22:54:48 +0000 (15:54 -0700)
commit2bb0ff025fa197f696e42fdf4eac9ebcff1f2a1c
treea57631d51c041126041a23ebee61adb20b52e349
parentf4247e2ef2c9600d522eee773503b3c552378641
f2fs: support journalled quota

This patch supports to enable f2fs to accept quota information through
mount option:
- {usr,grp,prj}jquota=<quota file path>
- jqfmt=<quota type>

Then, in ->mount flow, we can recover quota file during log replaying,
by this, journelled quota can be supported.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
[Jaegeuk Kim: Fix wrong return values.]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/filesystems/f2fs.txt
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/recovery.c
fs/f2fs/super.c