From 8f96de939314605392a8e54a638fa826f029f851 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 16 Feb 2010 09:21:09 -0800 Subject: [PATCH] generic_close_file: use put_inode(), not free_inode() Nothing other than put_inode() should ever really call free_inode()... Signed-off-by: H. Peter Anvin --- core/fs/lib/close.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/fs/lib/close.c b/core/fs/lib/close.c index 4504327..279598b 100644 --- a/core/fs/lib/close.c +++ b/core/fs/lib/close.c @@ -4,6 +4,6 @@ void generic_close_file(struct file *file) { if (file->inode) { file->offset = 0; - free_inode(file->inode); + put_inode(file->inode); } } -- 2.7.4