ソースを参照

namespace: mnt_want_write: Remove unused label 'out'

I was studying the code and I saw that the out label is not being used
at all so I removed it and its usage from the function.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Kautuk Consul 13 年 前
コミット
a127e2d518
1 ファイル変更0 行追加2 行削除
  1. 0 2
      fs/namespace.c

+ 0 - 2
fs/namespace.c

@@ -352,9 +352,7 @@ int mnt_want_write(struct vfsmount *mnt)
 	if (__mnt_is_readonly(mnt)) {
 		mnt_dec_writers(mnt);
 		ret = -EROFS;
-		goto out;
 	}
-out:
 	preempt_enable();
 	return ret;
 }