f2fs: add resgid and resuid to reserve root blocks
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 5 Jan 2018 05:36:09 +0000 (21:36 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 27 Jan 2018 21:30:05 +0000 (13:30 -0800)
commit871b97493627b8f9faae5848ee35915fa776c0c0
treeb1c5cdf81a51020c6fba4f6d4fe1834eadb532ef
parent0cf361acdb47da06f3d04b8fb4207b70e87802ee
f2fs: add resgid and resuid to reserve root blocks

This patch adds mount options to reserve some blocks via resgid=%u,resuid=%u.
It only activates with reserve_root=%u.

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