diff options
Diffstat (limited to 'fs/9p/vfs_super.c')
-rw-r--r-- | fs/9p/vfs_super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index a271549d9e21..491108bd6e0d 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c | |||
@@ -194,6 +194,7 @@ static void v9fs_kill_super(struct super_block *s) | |||
194 | 194 | ||
195 | kill_anon_super(s); | 195 | kill_anon_super(s); |
196 | 196 | ||
197 | v9fs_session_cancel(v9ses); | ||
197 | v9fs_session_close(v9ses); | 198 | v9fs_session_close(v9ses); |
198 | kfree(v9ses); | 199 | kfree(v9ses); |
199 | s->s_fs_info = NULL; | 200 | s->s_fs_info = NULL; |
@@ -206,7 +207,7 @@ v9fs_umount_begin(struct super_block *sb) | |||
206 | struct v9fs_session_info *v9ses; | 207 | struct v9fs_session_info *v9ses; |
207 | 208 | ||
208 | v9ses = sb->s_fs_info; | 209 | v9ses = sb->s_fs_info; |
209 | v9fs_session_cancel(v9ses); | 210 | v9fs_session_begin_cancel(v9ses); |
210 | } | 211 | } |
211 | 212 | ||
212 | static const struct super_operations v9fs_super_ops = { | 213 | static const struct super_operations v9fs_super_ops = { |