super.c (9b4f2e9576658c4e52d95dc8d309f51b2e2db096) | super.c (1a1d92c10dd24bbdc28b3d6e2d03ec199dd3a65b) |
---|---|
1/* 2 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README 3 * 4 * Trivial changes by Alan Cox to add the LFS fixes 5 * 6 * Trivial Changes: 7 * Rights granted to Hans Reiser to redistribute under other terms providing 8 * he accepts all liability including but not limited to patent, fitness --- 516 unchanged lines hidden (view full) --- 525 init_once, NULL); 526 if (reiserfs_inode_cachep == NULL) 527 return -ENOMEM; 528 return 0; 529} 530 531static void destroy_inodecache(void) 532{ | 1/* 2 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README 3 * 4 * Trivial changes by Alan Cox to add the LFS fixes 5 * 6 * Trivial Changes: 7 * Rights granted to Hans Reiser to redistribute under other terms providing 8 * he accepts all liability including but not limited to patent, fitness --- 516 unchanged lines hidden (view full) --- 525 init_once, NULL); 526 if (reiserfs_inode_cachep == NULL) 527 return -ENOMEM; 528 return 0; 529} 530 531static void destroy_inodecache(void) 532{ |
533 if (kmem_cache_destroy(reiserfs_inode_cachep)) 534 reiserfs_warning(NULL, 535 "reiserfs_inode_cache: not all structures were freed"); | 533 kmem_cache_destroy(reiserfs_inode_cachep); |
536} 537 538/* we don't mark inodes dirty, we just log them */ 539static void reiserfs_dirty_inode(struct inode *inode) 540{ 541 struct reiserfs_transaction_handle th; 542 543 int err = 0; --- 1769 unchanged lines hidden --- | 534} 535 536/* we don't mark inodes dirty, we just log them */ 537static void reiserfs_dirty_inode(struct inode *inode) 538{ 539 struct reiserfs_transaction_handle th; 540 541 int err = 0; --- 1769 unchanged lines hidden --- |