* [PATCH] ocfs2: remove unused label
@ 2016-02-01 16:23 Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2016-02-01 16:23 UTC (permalink / raw)
To: linux-arm-kernel
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@arndb.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".
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-01 16:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-01 16:23 [PATCH] ocfs2: remove unused label Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox