Commit 29e43c61 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Treehugger Robot
Browse files

UPSTREAM: f2fs: don't call block truncation for aliased file



This patch should avoid the below warning which does not corrupt the metadata
tho.

[   51.508120][  T253] F2FS-fs (dm-59): access invalid blkaddr:36
[   51.508156][  T253]  __f2fs_is_valid_blkaddr+0x330/0x384
[   51.508162][  T253]  f2fs_is_valid_blkaddr_raw+0x10/0x24
[   51.508163][  T253]  f2fs_truncate_data_blocks_range+0x1ec/0x438
[   51.508177][  T253]  f2fs_remove_inode_page+0x8c/0x148
[   51.508194][  T253]  f2fs_evict_inode+0x230/0x76c

Fixes: 128d333f ("f2fs: introduce device aliasing file")
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Change-Id: I52340d7ccd1015c7bfe96ec52db21e0a4d5e961f
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit cf5817ce)
parent 1a9c9a23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment