f2fs: avoid page allocation for truncating partial inline_data
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 6 Sep 2016 22:55:54 +0000 (15:55 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 8 Sep 2016 01:53:52 +0000 (18:53 -0700)
commit6438097bd16f607c7babbb54159753d0e8b94d75
tree285eb051a369af991092b6013181a0600ffc16d7
parent5888e5f8c20a8ddee187d291d9214a3c0ef9330a
f2fs: avoid page allocation for truncating partial inline_data

When truncating cached inline_data, we don't need to allocate a new page
all the time. Instead, it must check its page cache only.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c
This page took 0.024288 seconds and 5 git commands to generate.