aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2012-04-05 14:42:44 -0400
committerChris Mason <chris.mason@fusionio.com>2012-07-23 15:41:38 -0400
commitc5c3c5f31e6af2d12b154251a7f23b7f4add6b1d (patch)
tree58450925d72e896a54e32d05e7eae450917a907d /fs
parentcbea5ac1ee03197354bd38caad3fcb798f185181 (diff)
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>
Diffstat (limited to 'fs')
-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 e23991574fdf..ddc2efdda1ab 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1477,16 +1477,6 @@ static int btrfs_unfreeze(struct super_block *sb)
1477 return 0; 1477 return 0;
1478} 1478}
1479 1479
1480static void btrfs_fs_dirty_inode(struct inode *inode, int flags)
1481{
1482 int ret;
1483
1484 ret = btrfs_dirty_inode(inode);
1485 if (ret)
1486 printk_ratelimited(KERN_ERR "btrfs: fail to dirty inode %Lu "
1487 "error %d\n", btrfs_ino(inode), ret);
1488}
1489
1490static int btrfs_show_devname(struct seq_file *m, struct dentry *root) 1480static int btrfs_show_devname(struct seq_file *m, struct dentry *root)
1491{ 1481{
1492 struct btrfs_fs_info *fs_info = btrfs_sb(root->d_sb); 1482 struct btrfs_fs_info *fs_info = btrfs_sb(root->d_sb);
@@ -1526,7 +1516,6 @@ static const struct super_operations btrfs_super_ops = {
1526 .show_options = btrfs_show_options, 1516 .show_options = btrfs_show_options,
1527 .show_devname = btrfs_show_devname, 1517 .show_devname = btrfs_show_devname,
1528 .write_inode = btrfs_write_inode, 1518 .write_inode = btrfs_write_inode,
1529 .dirty_inode = btrfs_fs_dirty_inode,
1530 .alloc_inode = btrfs_alloc_inode, 1519 .alloc_inode = btrfs_alloc_inode,
1531 .destroy_inode = btrfs_destroy_inode, 1520 .destroy_inode = btrfs_destroy_inode,
1532 .statfs = btrfs_statfs, 1521 .statfs = btrfs_statfs,