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>
Tue, 16 Jan 2018 23:40:02 +0000 (15:40 -0800)
commit7c2e59632b846a9ea08a2ac985c651b752e08e3c
tree99b4775808ba1d38469470a3a8218efedb5c346e
parent578c647879f74c333d20762375fd970907f2e97c
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