summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2012-03-26 15:46:47 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-06-01 18:07:52 +0200
commite41f941a23115e84a8550b3d901a13a14b2edc2f (patch)
tree4f9d029be67bb3be91b5b7c5a28cf3e5c1508e7a /fs/btrfs/file.c
parentfs: introduce inode operation ->update_time (diff)
downloadlinux-e41f941a23115e84a8550b3d901a13a14b2edc2f.tar.xz
linux-e41f941a23115e84a8550b3d901a13a14b2edc2f.zip
Btrfs: move over to use ->update_time
Btrfs had been doing it's own file_update_time so we could catch ENOSPC properly, so just update our btrfs_update_time to work with the new stuff and then we'll be fancy later. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 53bf2d764bbc..974beb84ed61 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -1404,7 +1404,7 @@ static ssize_t btrfs_file_aio_write(struct kiocb *iocb,
goto out;
}
- err = btrfs_update_time(file);
+ err = file_update_time(file);
if (err) {
mutex_unlock(&inode->i_mutex);
goto out;