diff options
| author | James Morris <jmorris@namei.org> | 2011-04-19 07:32:41 -0400 |
|---|---|---|
| committer | James Morris <jmorris@namei.org> | 2011-04-19 07:32:41 -0400 |
| commit | d4ab4e6a23f805abb8fc3cc34525eec3788aeca1 (patch) | |
| tree | eefd82c155bc27469a85667d759cd90facf4a6e3 /fs/filesystems.c | |
| parent | c0fa797ae6cd02ff87c0bfe0d509368a3b45640e (diff) | |
| parent | 96fd2d57b8252e16dfacf8941f7a74a6119197f5 (diff) | |
Merge branch 'master'; commit 'v2.6.39-rc3' into next
Diffstat (limited to 'fs/filesystems.c')
| -rw-r--r-- | fs/filesystems.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) | |||
| 110 | *tmp = fs->next; | 110 | *tmp = fs->next; |
| 111 | fs->next = NULL; | 111 | fs->next = NULL; |
| 112 | write_unlock(&file_systems_lock); | 112 | write_unlock(&file_systems_lock); |
| 113 | synchronize_rcu(); | ||
| 113 | return 0; | 114 | return 0; |
| 114 | } | 115 | } |
| 115 | tmp = &(*tmp)->next; | 116 | tmp = &(*tmp)->next; |
| 116 | } | 117 | } |
| 117 | write_unlock(&file_systems_lock); | 118 | write_unlock(&file_systems_lock); |
| 118 | 119 | ||
| 119 | synchronize_rcu(); | ||
| 120 | |||
| 121 | return -EINVAL; | 120 | return -EINVAL; |
| 122 | } | 121 | } |
| 123 | 122 | ||
