f2fs: keep quota data on write_begin failure
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 4 Dec 2019 02:54:29 +0000 (18:54 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Dec 2019 21:24:34 +0000 (13:24 -0800)
commit3f188c23d774646dcfa35e937f75f66872e62507
treed3403e2bb7e2566985500a051b6ce1e4358f9816
parentbdf03299248916640a835a05d32841bb3d31912d
f2fs: keep quota data on write_begin failure

This patch avoids some unnecessary locks for quota files when write_begin
fails.

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