super.c (35858adbfca13678af99fb31618ef4428d6dedb0) | super.c (257ba15cedf1288f0c96118d7e63947231d27278) |
---|---|
1/* 2 * Copyright (C) International Business Machines Corp., 2000-2004 3 * Portions Copyright (C) Christoph Hellwig, 2001-2002 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 117 unchanged lines hidden (view full) --- 126 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; 127 atomic_dec(&bmap->db_active[ji->active_ag]); 128 ji->active_ag = -1; 129 } 130 spin_unlock_irq(&ji->ag_lock); 131 kmem_cache_free(jfs_inode_cachep, ji); 132} 133 | 1/* 2 * Copyright (C) International Business Machines Corp., 2000-2004 3 * Portions Copyright (C) Christoph Hellwig, 2001-2002 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 117 unchanged lines hidden (view full) --- 126 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; 127 atomic_dec(&bmap->db_active[ji->active_ag]); 128 ji->active_ag = -1; 129 } 130 spin_unlock_irq(&ji->ag_lock); 131 kmem_cache_free(jfs_inode_cachep, ji); 132} 133 |
134static void jfs_clear_inode(struct inode *inode) 135{ 136 vfs_dq_drop(inode); 137} 138 |
|
134static int jfs_statfs(struct dentry *dentry, struct kstatfs *buf) 135{ 136 struct jfs_sb_info *sbi = JFS_SBI(dentry->d_sb); 137 s64 maxinodes; 138 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; 139 140 jfs_info("In jfs_statfs"); 141 buf->f_type = JFS_SUPER_MAGIC; --- 598 unchanged lines hidden (view full) --- 740#endif 741 742static const struct super_operations jfs_super_operations = { 743 .alloc_inode = jfs_alloc_inode, 744 .destroy_inode = jfs_destroy_inode, 745 .dirty_inode = jfs_dirty_inode, 746 .write_inode = jfs_write_inode, 747 .delete_inode = jfs_delete_inode, | 139static int jfs_statfs(struct dentry *dentry, struct kstatfs *buf) 140{ 141 struct jfs_sb_info *sbi = JFS_SBI(dentry->d_sb); 142 s64 maxinodes; 143 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; 144 145 jfs_info("In jfs_statfs"); 146 buf->f_type = JFS_SUPER_MAGIC; --- 598 unchanged lines hidden (view full) --- 745#endif 746 747static const struct super_operations jfs_super_operations = { 748 .alloc_inode = jfs_alloc_inode, 749 .destroy_inode = jfs_destroy_inode, 750 .dirty_inode = jfs_dirty_inode, 751 .write_inode = jfs_write_inode, 752 .delete_inode = jfs_delete_inode, |
753 .clear_inode = jfs_clear_inode, |
|
748 .put_super = jfs_put_super, 749 .sync_fs = jfs_sync_fs, 750 .freeze_fs = jfs_freeze, 751 .unfreeze_fs = jfs_unfreeze, 752 .statfs = jfs_statfs, 753 .remount_fs = jfs_remount, 754 .show_options = jfs_show_options, 755#ifdef CONFIG_QUOTA --- 136 unchanged lines hidden --- | 754 .put_super = jfs_put_super, 755 .sync_fs = jfs_sync_fs, 756 .freeze_fs = jfs_freeze, 757 .unfreeze_fs = jfs_unfreeze, 758 .statfs = jfs_statfs, 759 .remount_fs = jfs_remount, 760 .show_options = jfs_show_options, 761#ifdef CONFIG_QUOTA --- 136 unchanged lines hidden --- |