commit | f95fda8751b7b243c810805d1deaae502716d8fb | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Thu Mar 02 18:41:19 2017 -0800 |
committer | David Sterba <dsterba@suse.com> | Tue Apr 18 14:07:23 2017 +0200 |
tree | 868bfcd3787bc950f1873950989e6f5ce55db123 | |
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>