lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 01 Feb 2016 17:23:39 +0100
From:	Arnd Bergmann <arnd@...db.de>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Ryan Ding <ryan.ding@...cle.com>,
	Junxiao Bi <junxiao.bi@...cle.com>,
	Joseph Qi <joseph.qi@...wei.com>,
	Mark Fasheh <mfasheh@...e.de>,
	Joel Becker <jlbec@...lplan.org>, ocfs2-devel@....oracle.com,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: [PATCH] ocfs2: remove unused label

A recent cleanup modified the ocfs2_file_write_iter function, which
no longer uses its 'relock' label, as gcc warns:

fs/ocfs2/file.c: In function 'ocfs2_file_write_iter':
fs/ocfs2/file.c:2198:1: error: label 'relock' defined but not used [-Werror=unused-label]

This removes the label as well.

Signed-off-by: Arnd Bergmann <arnd@...db.de>
Fixes: 1a46f12e5071 ("ocfs2: code clean up for direct io")
---
Found on ARM randconfig builds on linux-next last week.

diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 41c506e7814e..c18ab45f8d21 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -2195,7 +2195,6 @@ static ssize_t ocfs2_file_write_iter(struct kiocb *iocb,
 
 	inode_lock(inode);
 
-relock:
 	/*
 	 * Concurrent O_DIRECT writes are allowed with
 	 * mount_option "coherency=buffered".

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ