super.c (f8314dc60ccba7e41f425048c4160dc7f63377d5) | super.c (1a1d92c10dd24bbdc28b3d6e2d03ec199dd3a65b) |
---|---|
1/* 2 * linux/fs/adfs/super.c 3 * 4 * Copyright (C) 1997-1999 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 237 unchanged lines hidden (view full) --- 246 init_once, NULL); 247 if (adfs_inode_cachep == NULL) 248 return -ENOMEM; 249 return 0; 250} 251 252static void destroy_inodecache(void) 253{ | 1/* 2 * linux/fs/adfs/super.c 3 * 4 * Copyright (C) 1997-1999 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 237 unchanged lines hidden (view full) --- 246 init_once, NULL); 247 if (adfs_inode_cachep == NULL) 248 return -ENOMEM; 249 return 0; 250} 251 252static void destroy_inodecache(void) 253{ |
254 if (kmem_cache_destroy(adfs_inode_cachep)) 255 printk(KERN_INFO "adfs_inode_cache: not all structures were freed\n"); | 254 kmem_cache_destroy(adfs_inode_cachep); |
256} 257 258static struct super_operations adfs_sops = { 259 .alloc_inode = adfs_alloc_inode, 260 .destroy_inode = adfs_destroy_inode, 261 .write_inode = adfs_write_inode, 262 .put_super = adfs_put_super, 263 .statfs = adfs_statfs, --- 246 unchanged lines hidden --- | 255} 256 257static struct super_operations adfs_sops = { 258 .alloc_inode = adfs_alloc_inode, 259 .destroy_inode = adfs_destroy_inode, 260 .write_inode = adfs_write_inode, 261 .put_super = adfs_put_super, 262 .statfs = adfs_statfs, --- 246 unchanged lines hidden --- |