projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fuse: check s_root when destroying sb
[linux-2.6-microblaze.git]
/
fs
/
fuse
/
virtio_fs.c
diff --git
a/fs/fuse/virtio_fs.c
b/fs/fuse/virtio_fs.c
index
0ad89c6
..
32fd138
100644
(file)
--- a/
fs/fuse/virtio_fs.c
+++ b/
fs/fuse/virtio_fs.c
@@
-1394,7
+1394,7
@@
static void virtio_kill_sb(struct super_block *sb)
bool last;
/* If mount failed, we can still be called without any fc */
- if (
fm
) {
+ if (
sb->s_root
) {
last = fuse_mount_remove(fm);
if (last)
virtio_fs_conn_destroy(fm);