f2fs: don't need to check encrypted inode for partial truncation
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 14 Jun 2017 15:05:32 +0000 (08:05 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Jul 2017 09:11:49 +0000 (02:11 -0700)
commita9bcf9bcd01499001834273ac1114ec76668f048
tree3f9caab372434dfb75d2dc0c188a78159ac149cd
parent0eb0adadf2e49d82bc4ecd65ec3bb69251f7564c
f2fs: don't need to check encrypted inode for partial truncation

The cache_only is always false, if inode is encrypted.

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