diff options
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index b4febb29d3bb..9a1ddcda655f 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -352,9 +352,7 @@ int mnt_want_write(struct vfsmount *mnt) | |||
352 | if (__mnt_is_readonly(mnt)) { | 352 | if (__mnt_is_readonly(mnt)) { |
353 | mnt_dec_writers(mnt); | 353 | mnt_dec_writers(mnt); |
354 | ret = -EROFS; | 354 | ret = -EROFS; |
355 | goto out; | ||
356 | } | 355 | } |
357 | out: | ||
358 | preempt_enable(); | 356 | preempt_enable(); |
359 | return ret; | 357 | return ret; |
360 | } | 358 | } |