[PATCH v2 3/7] fsnotify: Simplify inode iteration on umount

2016-07-11 Thread Waiman Long
From: Jan Kara fsnotify_unmount_inodes() played complex tricks to pin next inode in the sb->s_inodes list when iterating over all inodes. If we switch to keeping current inode pinned somewhat longer, we can make the code much simpler and standard. Signed-off-by: Jan Kara

[PATCH v2 3/7] fsnotify: Simplify inode iteration on umount

2016-07-11 Thread Waiman Long
From: Jan Kara fsnotify_unmount_inodes() played complex tricks to pin next inode in the sb->s_inodes list when iterating over all inodes. If we switch to keeping current inode pinned somewhat longer, we can make the code much simpler and standard. Signed-off-by: Jan Kara Signed-off-by: Waiman