summaryrefslogtreecommitdiff
path: root/fs/gfs2/dir.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-01-31 20:30:16 (GMT)
committerJosef Bacik <josef@redhat.com>2011-03-17 18:21:22 (GMT)
commita41ad394a03b802497958d7c98a9dcf607266645 (patch)
treef18d97b7feb5c3dcf0d3c1a670d4eaf6b94e8b79 /fs/gfs2/dir.c
parentdc89e9824464e91fa0b06267864ceabe3186fd8b (diff)
downloadlinux-fsl-qoriq-a41ad394a03b802497958d7c98a9dcf607266645.tar.xz
Btrfs: convert to the new truncate sequence
->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: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.c')
0 files changed, 0 insertions, 0 deletions