X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=fs%2Ffilesystems.c;h=0845f84f2a5fe2b8eaf95aaac05a06cfe21f79e0;hb=2f666bcf757cb72549f360ef6da02f03620a48b6;hp=751d6b255a12ab1abcf71e817f80f4ce11bbd647;hpb=03a4491f5d6835028dbbcf36990599c5c9f6ff55;p=pandora-kernel.git diff --git a/fs/filesystems.c b/fs/filesystems.c index 751d6b255a12..0845f84f2a5f 100644 --- 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; }