[PATCH] cleanup hugelbfs_forget_inode
authorChristoph Hellwig <hch@lst.de>
Sun, 30 Oct 2005 01:16:45 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:43 +0000 (21:40 -0700)
commit0b1533f67cc1a595457af6d05ab3510294e2ca9c
tree4cebbfe7632c0967a52f7c7fb7b0c15954eaab3a
parent6b09b9df05f319ec27e0dae1721efe097b8b23ad
[PATCH] cleanup hugelbfs_forget_inode

Reformat hugelbfs_forget_inode and add the missing but harmless
write_inode_now call.  It looks the same as generic_forget_inode now except
for the call to truncate_hugepages instead of truncate_inode_pages.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hugetlbfs/inode.c