projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf stat: Add -d -d and -d -d -d options to show more CPU events
[firefly-linux-kernel-4.4.55.git]
/
fs
/
filesystems.c
diff --git
a/fs/filesystems.c
b/fs/filesystems.c
index 751d6b255a12ab1abcf71e817f80f4ce11bbd647..0845f84f2a5fe2b8eaf95aaac05a06cfe21f79e0 100644
(file)
--- a/
fs/filesystems.c
+++ b/
fs/filesystems.c
@@
-110,14
+110,13
@@
int unregister_filesystem(struct file_system_type * fs)
*tmp = fs->next;
fs->next = NULL;
write_unlock(&file_systems_lock);
+ synchronize_rcu();
return 0;
}
tmp = &(*tmp)->next;
}
write_unlock(&file_systems_lock);
- synchronize_rcu();
-
return -EINVAL;
}