aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2012-04-05 14:42:44 -0400
committerJosef Bacik <josef@redhat.com>2012-04-24 15:18:09 -0400
commit2d97ad21d13c6b4c848743a1fd39184028adeff3 (patch)
tree5b3e56fdaed4a569f2a836c823363caa22318aa8
parenta74a0c3d62fea5003980a847e930f12f0153faa4 (diff)
downloadbtrfs-work-2d97ad21d13c6b4c848743a1fd39184028adeff3.tar.gz
Btrfs: remove ->dirty_inode
We do all of our inode updating when we change it, and now that we do ->update_time we don't need ->dirty_inode for atime updates anymore, so just remove it. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
-rw-r--r--fs/btrfs/super.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 8d5d380f7bdb8a..d4902ce2d79768 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1450,16 +1450,6 @@ static int btrfs_unfreeze(struct super_block *sb)
return 0;
}
-static void btrfs_fs_dirty_inode(struct inode *inode, int flags)
-{
- int ret;
-
- ret = btrfs_dirty_inode(inode);
- if (ret)
- printk_ratelimited(KERN_ERR "btrfs: fail to dirty inode %Lu "
- "error %d\n", btrfs_ino(inode), ret);
-}
-
static const struct super_operations btrfs_super_ops = {
.drop_inode = btrfs_drop_inode,
.evict_inode = btrfs_evict_inode,
@@ -1467,7 +1457,6 @@ static const struct super_operations btrfs_super_ops = {
.sync_fs = btrfs_sync_fs,
.show_options = btrfs_show_options,
.write_inode = btrfs_write_inode,
- .dirty_inode = btrfs_fs_dirty_inode,
.alloc_inode = btrfs_alloc_inode,
.destroy_inode = btrfs_destroy_inode,
.statfs = btrfs_statfs,