diff options
-rw-r--r-- | fs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c index 6cacdab25e0a..062c5f9b6a69 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -709,7 +709,7 @@ EXPORT_SYMBOL(iunique); | |||
709 | struct inode *igrab(struct inode *inode) | 709 | struct inode *igrab(struct inode *inode) |
710 | { | 710 | { |
711 | spin_lock(&inode_lock); | 711 | spin_lock(&inode_lock); |
712 | if (!(inode->i_state & (I_FREEING|I_WILL_FREE))) | 712 | if (!(inode->i_state & (I_FREEING|I_CLEAR|I_WILL_FREE))) |
713 | __iget(inode); | 713 | __iget(inode); |
714 | else | 714 | else |
715 | /* | 715 | /* |