• J
    Btrfs: convert to the new truncate sequence · a41ad394
    Josef Bacik 提交于
    ->truncate() is going away, instead all of the work needs to be done in
    ->setattr().  So this converts us over to do this.  It's fairly straightforward,
    just get rid of our .truncate inode operation and call btrfs_truncate() directly
    from btrfs_setsize.  This works out better for us since truncate can technically
    return ENOSPC, and before we had no way of letting anybody know.  Thanks,
    Signed-off-by: NJosef Bacik <josef@redhat.com>
    a41ad394
inode.c 196.4 KB