aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 7e6f2c9dc7c4..e6081996c9a2 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -324,9 +324,7 @@ int mnt_want_write(struct vfsmount *m)
324 if (mnt_is_readonly(m)) { 324 if (mnt_is_readonly(m)) {
325 mnt_dec_writers(mnt); 325 mnt_dec_writers(mnt);
326 ret = -EROFS; 326 ret = -EROFS;
327 goto out;
328 } 327 }
329out:
330 preempt_enable(); 328 preempt_enable();
331 return ret; 329 return ret;
332} 330}