aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify')
-rw-r--r--fs/notify/inode_mark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/notify/inode_mark.c b/fs/notify/inode_mark.c
index 37b460f302b7..33297c005060 100644
--- a/fs/notify/inode_mark.c
+++ b/fs/notify/inode_mark.c
@@ -244,11 +244,11 @@ void fsnotify_unmount_inodes(struct list_head *list)
244 struct inode *need_iput_tmp; 244 struct inode *need_iput_tmp;
245 245
246 /* 246 /*
247 * We cannot __iget() an inode in state I_CLEAR, I_FREEING, 247 * We cannot __iget() an inode in state I_FREEING,
248 * I_WILL_FREE, or I_NEW which is fine because by that point 248 * I_WILL_FREE, or I_NEW which is fine because by that point
249 * the inode cannot have any associated watches. 249 * the inode cannot have any associated watches.
250 */ 250 */
251 if (inode->i_state & (I_CLEAR|I_FREEING|I_WILL_FREE|I_NEW)) 251 if (inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW))
252 continue; 252 continue;
253 253
254 /* 254 /*
@@ -272,7 +272,7 @@ void fsnotify_unmount_inodes(struct list_head *list)
272 /* In case the dropping of a reference would nuke next_i. */ 272 /* In case the dropping of a reference would nuke next_i. */
273 if ((&next_i->i_sb_list != list) && 273 if ((&next_i->i_sb_list != list) &&
274 atomic_read(&next_i->i_count) && 274 atomic_read(&next_i->i_count) &&
275 !(next_i->i_state & (I_CLEAR | I_FREEING | I_WILL_FREE))) { 275 !(next_i->i_state & (I_FREEING | I_WILL_FREE))) {
276 __iget(next_i); 276 __iget(next_i);
277 need_iput = next_i; 277 need_iput = next_i;
278 } 278 }