f2fs: fix leakage of inmemory atomic pages
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 22 Oct 2015 01:49:50 +0000 (18:49 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 22 Oct 2015 02:04:17 +0000 (19:04 -0700)
commitd7b8b384b02f52b20a538e741c75c5d50c0e131f
treebb27b2de1a0f5986335837f997b7b020bf61e39a
parentf96999c35f46fa9bce8a3a2812cd0a28fcde5903
f2fs: fix leakage of inmemory atomic pages

If we got failure during commit_atomic_write, abort_volatile_write will be
called, but will not drop the inmemory pages due to no FI_ATOMIC_FILE.
Actually, there is no reason to check the flag in abort_volatile_write.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c