]> git.karo-electronics.de Git - linux-beck.git/commit
ocfs2: one more warning fix in ocfs2_file_aio_write(), v2
authorColy Li <coly.li@suse.de>
Thu, 25 Mar 2010 21:15:12 +0000 (05:15 +0800)
committerJoel Becker <joel.becker@oracle.com>
Tue, 30 Mar 2010 19:52:13 +0000 (12:52 -0700)
commita03ab788d070c256eff1ac24cf0e3bc2ca148096
treef5c05f87457be0f863e69915fa4888bec071f6ad
parentefd647f744f3cf504ed83580274bd4b6918139fe
ocfs2: one more warning fix in ocfs2_file_aio_write(), v2

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'.

Signed-off-by: Coly Li <coly.li@suse.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/file.c