aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2017-03-03 02:41:19 +0000
committerDavid Sterba <[email protected]>2017-04-18 12:07:23 +0000
commitf95fda8751b7b243c810805d1deaae502716d8fb (patch)
tree868bfcd3787bc950f1873950989e6f5ce55db123 /fs/btrfs/tree-log.c
parentbtrfs: fix a bogus warning when converting only data or metadata (diff)
downloadkernel-f95fda8751b7b243c810805d1deaae502716d8fb.tar.gz
kernel-f95fda8751b7b243c810805d1deaae502716d8fb.zip
Btrfs: remove ASSERT in btrfs_truncate_inode_items
After 76b42abbf748 ("Btrfs: fix data loss after truncate when using the no-holes feature"), For either NO_HOLES or inline extents, we've set last_size to newsize to avoid data loss after remount or inode got evicted and read again, thus, we don't need this check anymore. Signed-off-by: Liu Bo <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions