We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e317b commit f92ca72Copy full SHA for f92ca72
fs/notify/fsnotify.c
@@ -70,8 +70,7 @@ static void fsnotify_unmount_inodes(struct super_block *sb)
70
spin_unlock(&inode->i_lock);
71
spin_unlock(&sb->s_inode_list_lock);
72
73
- if (iput_inode)
74
- iput(iput_inode);
+ iput(iput_inode);
75
76
/* for each watch, send FS_UNMOUNT and then remove it */
77
fsnotify_inode(inode, FS_UNMOUNT);
@@ -85,8 +84,7 @@ static void fsnotify_unmount_inodes(struct super_block *sb)
85
84
}
86
87
88
89
90
91
92
void fsnotify_sb_delete(struct super_block *sb)
0 commit comments