Merge tag 'armsoc-defconfig64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[linux-2.6-block.git] / fs / notify / inode_mark.c
index e785fd954c30731e8f8a5dd676f903f84f0df70c..741077deef3b5544dd71ae9635facb8ac1a228a9 100644 (file)
@@ -199,8 +199,7 @@ void fsnotify_unmount_inodes(struct super_block *sb)
                                break;
                        }
                        spin_unlock(&next_i->i_lock);
-                       next_i = list_entry(next_i->i_sb_list.next,
-                                               struct inode, i_sb_list);
+                       next_i = list_next_entry(next_i, i_sb_list);
                }
 
                /*