Commit 1deaf9d1 authored by Geliang Tang's avatar Geliang Tang Committed by Linus Torvalds

fs/notify/inode_mark.c: use list_next_entry in fsnotify_unmount_inodes

To make the intention clearer, use list_next_entry instead of
Signed-off-by: default avatarGeliang Tang <>
Reviewed-by: default avatarJan Kara <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 72214a24
...@@ -199,8 +199,7 @@ void fsnotify_unmount_inodes(struct super_block *sb) ...@@ -199,8 +199,7 @@ void fsnotify_unmount_inodes(struct super_block *sb)
break; break;
} }
spin_unlock(&next_i->i_lock); spin_unlock(&next_i->i_lock);
next_i = list_entry(next_i->, next_i = list_next_entry(next_i, i_sb_list);
struct inode, i_sb_list);
} }
/* /*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment