ocfs2: Silence gcc warning in ocfs2_write_zero_page().
authorJoel Becker <joel.becker@oracle.com>
Fri, 16 Jul 2010 20:32:33 +0000 (13:32 -0700)
committerJoel Becker <joel.becker@oracle.com>
Fri, 16 Jul 2010 20:33:39 +0000 (13:33 -0700)
commit5453258d532e72731b0829e4fefd36dd611a2fff
tree6caa67ad70df5cd266ff42f458d6994b689898a5
parent13ceef099edd2b70c5a6f3a9ef5d6d97cda2e096
ocfs2: Silence gcc warning in ocfs2_write_zero_page().

ocfs2_write_zero_page() has a loop that won't ever be skipped, but gcc
doesn't know that.  Set ret=0 just to make gcc happy.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/file.c