Commit 1e7acbb7 authored by Dave Chinner's avatar Dave Chinner Committed by Ben Myers

xfs: silence uninitialised f.file warning.

Uninitialised variable build warning introduced by 2903ff01 ("switch
simple cases of fget_light to fdget"), gcc is not smart enough to
work out that the variable is not used uninitialised, and the commit
removed the initialisation at declaration that the old variable had.
Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMark Tinguely <tinguely@sgi.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent eaef8543
...@@ -70,7 +70,7 @@ xfs_find_handle( ...@@ -70,7 +70,7 @@ xfs_find_handle(
int hsize; int hsize;
xfs_handle_t handle; xfs_handle_t handle;
struct inode *inode; struct inode *inode;
struct fd f; struct fd f = {0};
struct path path; struct path path;
int error; int error;
struct xfs_inode *ip; struct xfs_inode *ip;
......
Markdown is supported
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