commit | 96527980d4cb8f65fe49efdbc4ab92c0837d42f6 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Oct 29 18:16:42 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sat Oct 29 21:40:43 2005 -0700 |
tree | 93b6b438cee41d62e562ae277e67c9b6cad288a7 | |
parent | b8072f099b7829a6ff3eba618e1d079a81f753f8 [diff] |
[PATCH] hugetlbfs: move free_inodes accounting Move hugetlbfs accounting into ->alloc_inode / ->destroy_inode. This keeps the code simpler, fixes a loeak where a failing inode allocation wouldn't decrement the counter and moves hugetlbfs_delete_inode and hugetlbfs_forget_inode closer to their generic counterparts. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>