super.c (35858adbfca13678af99fb31618ef4428d6dedb0) | super.c (257ba15cedf1288f0c96118d7e63947231d27278) |
---|---|
1/* 2 * linux/fs/ext2/super.c 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * --- 180 unchanged lines hidden (view full) --- 189static void destroy_inodecache(void) 190{ 191 kmem_cache_destroy(ext2_inode_cachep); 192} 193 194static void ext2_clear_inode(struct inode *inode) 195{ 196 struct ext2_block_alloc_info *rsv = EXT2_I(inode)->i_block_alloc_info; | 1/* 2 * linux/fs/ext2/super.c 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * --- 180 unchanged lines hidden (view full) --- 189static void destroy_inodecache(void) 190{ 191 kmem_cache_destroy(ext2_inode_cachep); 192} 193 194static void ext2_clear_inode(struct inode *inode) 195{ 196 struct ext2_block_alloc_info *rsv = EXT2_I(inode)->i_block_alloc_info; |
197 198 vfs_dq_drop(inode); |
|
197 ext2_discard_reservation(inode); 198 EXT2_I(inode)->i_block_alloc_info = NULL; 199 if (unlikely(rsv)) 200 kfree(rsv); 201} 202 203static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs) 204{ --- 1311 unchanged lines hidden --- | 199 ext2_discard_reservation(inode); 200 EXT2_I(inode)->i_block_alloc_info = NULL; 201 if (unlikely(rsv)) 202 kfree(rsv); 203} 204 205static int ext2_show_options(struct seq_file *seq, struct vfsmount *vfs) 206{ --- 1311 unchanged lines hidden --- |