Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66b116c9 authored by Coly Li's avatar Coly Li Committed by Joel Becker
Browse files

ocfs2: fix warning in ocfs2_file_aio_write()



This patch fixes a compiling warning in ocfs2_file_aio_write().

Signed-off-by: default avatarColy Li <coly.li@suse.de>
Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
parent cbe0e331
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2041,7 +2041,7 @@ static ssize_t ocfs2_file_aio_write(struct kiocb *iocb,
	 * async dio is going to do it in the future or an end_io after an
	 * error has already done it.
	 */
	if (ret == -EIOCBQUEUED || !ocfs2_iocb_is_rw_locked(iocb)) {
	if ((ret == -EIOCBQUEUED) || (!ocfs2_iocb_is_rw_locked(iocb))) {
		rw_level = -1;
		have_alloc_sem = 0;
	}