diff options
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 7b1ca9ba0b0a..a45ba4f267fe 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -1429,7 +1429,7 @@ struct vfsmount *collect_mounts(struct path *path) | |||
1429 | CL_COPY_ALL | CL_PRIVATE); | 1429 | CL_COPY_ALL | CL_PRIVATE); |
1430 | namespace_unlock(); | 1430 | namespace_unlock(); |
1431 | if (IS_ERR(tree)) | 1431 | if (IS_ERR(tree)) |
1432 | return NULL; | 1432 | return ERR_CAST(tree); |
1433 | return &tree->mnt; | 1433 | return &tree->mnt; |
1434 | } | 1434 | } |
1435 | 1435 | ||