aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext3/super.c')
-rw-r--r--fs/ext3/super.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 9650a956fd0e..5dbf4dba03c4 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -527,17 +527,6 @@ static void destroy_inodecache(void)
527 kmem_cache_destroy(ext3_inode_cachep); 527 kmem_cache_destroy(ext3_inode_cachep);
528} 528}
529 529
530static void ext3_clear_inode(struct inode *inode)
531{
532 struct ext3_block_alloc_info *rsv = EXT3_I(inode)->i_block_alloc_info;
533
534 dquot_drop(inode);
535 ext3_discard_reservation(inode);
536 EXT3_I(inode)->i_block_alloc_info = NULL;
537 if (unlikely(rsv))
538 kfree(rsv);
539}
540
541static inline void ext3_show_quota_options(struct seq_file *seq, struct super_block *sb) 530static inline void ext3_show_quota_options(struct seq_file *seq, struct super_block *sb)
542{ 531{
543#if defined(CONFIG_QUOTA) 532#if defined(CONFIG_QUOTA)
@@ -780,14 +769,13 @@ static const struct super_operations ext3_sops = {
780 .destroy_inode = ext3_destroy_inode, 769 .destroy_inode = ext3_destroy_inode,
781 .write_inode = ext3_write_inode, 770 .write_inode = ext3_write_inode,
782 .dirty_inode = ext3_dirty_inode, 771 .dirty_inode = ext3_dirty_inode,
783 .delete_inode = ext3_delete_inode, 772 .evict_inode = ext3_evict_inode,
784 .put_super = ext3_put_super, 773 .put_super = ext3_put_super,
785 .sync_fs = ext3_sync_fs, 774 .sync_fs = ext3_sync_fs,
786 .freeze_fs = ext3_freeze, 775 .freeze_fs = ext3_freeze,
787 .unfreeze_fs = ext3_unfreeze, 776 .unfreeze_fs = ext3_unfreeze,
788 .statfs = ext3_statfs, 777 .statfs = ext3_statfs,
789 .remount_fs = ext3_remount, 778 .remount_fs = ext3_remount,
790 .clear_inode = ext3_clear_inode,
791 .show_options = ext3_show_options, 779 .show_options = ext3_show_options,
792#ifdef CONFIG_QUOTA 780#ifdef CONFIG_QUOTA
793 .quota_read = ext3_quota_read, 781 .quota_read = ext3_quota_read,