[Ocfs2-devel] [PATCH] ocfs2: one more warning fix in ocfs2_file_aio_write(), v2

Joel Becker Joel.Becker at oracle.com
Wed Mar 31 17:52:07 PDT 2010


On Fri, Mar 26, 2010 at 05:15:12AM +0800, Coly Li wrote:
> This patch fixes another compiling warning in ocfs2_file_aio_write() like this,
>     fs/ocfs2/file.c: In function ‘ocfs2_file_aio_write’:
>     fs/ocfs2/file.c:2026: warning: suggest parentheses around ‘&&’ within ‘||’
> 
> As Joel suggested, '!ret' is unary, this version removes the wrap from '!ret'.

	This patch is now in the fixes branch of ocfs2.git.

Joel

-- 

"You don't make the poor richer by making the rich poorer."
	- Sir Winston Churchill

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list