f2fs: enable quota at remount from r to w
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 2 Jan 2018 19:03:19 +0000 (11:03 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 27 Jan 2018 21:29:48 +0000 (13:29 -0800)
commitf2f13783146435c99ffc794ec1a8b1bbc7cbec6d
tree20366a317ab7a697be8278ee4a112ff3c50c2117
parentd507f30065b3bfb58bc39e6b780536661bacbf87
f2fs: enable quota at remount from r to w

We have to enable quota only when remounting from read to write. Otherwise,
we'll get remount failure. (e.g., write to write case)

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