f2fs: support journalled quota
commit4b2414d04e99120ce852ba15a1926c9c3a77d9ce
authorChao Yu <yuchao0@huawei.com>
Tue, 8 Aug 2017 02:54:31 +0000 (8 10:54 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 21 Aug 2017 22:54:48 +0000 (21 15:54 -0700)
treea57631d51c041126041a23ebee61adb20b52e349
parentb8c502b81e3f899c6488967dec61eed0f5907db3
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