diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2017-03-02 18:41:19 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-04-18 14:07:23 +0200 |
commit | f95fda8751b7b243c810805d1deaae502716d8fb (patch) | |
tree | 868bfcd3787bc950f1873950989e6f5ce55db123 /fs/btrfs/volumes.h | |
parent | 14506127979a5a3d0c5d9b4cc76ce9d4ec23b717 (diff) |
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 <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions