From 4a3b0a490d49ada8bbf3f426be1a0ace4dcd0a55 Mon Sep 17 00:00:00 2001 From: Jan Blunck Date: Sat, 10 Feb 2007 01:44:59 -0800 Subject: [PATCH] [PATCH] igrab() should check for I_CLEAR When igrab() is calling __iget() on an inode it should check if clear_inode() has been called on the inode already. Otherwise there is a race window between clear_inode() and destroy_inode() where igrab() calls __iget() which leads to already free inodes on the inode lists. Signed-off-by: Vandana Rungta Signed-off-by: Jan Blunck Cc: Al Viro Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed