Skip to content
Commit 44d8e4e1 authored by Subrata Modak's avatar Subrata Modak Committed by Joel Becker
Browse files

ocfs2: Fix compilation warning for fs/ocfs2/xattr.c

gcc 4.4.1 generates the following build warning on i386:

CC [M]  fs/ocfs2/xattr.o
fs/ocfs2/xattr.c: In function ‘ocfs2_xattr_block_get’:
fs/ocfs2/xattr.c:1055: warning: ‘block_off’ may be used uninitialized in this function

The following fix is based on a similar approach by David Howells
few days back: http://lkml.org/lkml/2009/7/9/109

,

Signed-off-by: default avatarSubrata <Modak&lt;subrata@linux.vnet.ibm.com&gt;,>
Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
parent cefcb800
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment