diff options
author | Josef Bacik <josef@redhat.com> | 2012-04-05 20:42:44 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-07-23 21:41:38 +0200 |
commit | c5c3c5f31e6af2d12b154251a7f23b7f4add6b1d (patch) | |
tree | 58450925d72e896a54e32d05e7eae450917a907d /fs/btrfs/super.c | |
parent | Btrfs: reduce calls to wake_up on uncontended locks (diff) | |
download | linux-c5c3c5f31e6af2d12b154251a7f23b7f4add6b1d.tar.xz linux-c5c3c5f31e6af2d12b154251a7f23b7f4add6b1d.zip |
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/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 11 |
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) 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 int btrfs_show_devname(struct seq_file *m, struct dentry *root) { struct btrfs_fs_info *fs_info = btrfs_sb(root->d_sb); @@ -1526,7 +1516,6 @@ static const struct super_operations btrfs_super_ops = { .show_options = btrfs_show_options, .show_devname = btrfs_show_devname, .write_inode = btrfs_write_inode, - .dirty_inode = btrfs_fs_dirty_inode, .alloc_inode = btrfs_alloc_inode, .destroy_inode = btrfs_destroy_inode, .statfs = btrfs_statfs, |