]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: silence uninitialised f.file warning.
authorDave Chinner <dchinner@redhat.com>
Thu, 25 Oct 2012 06:22:30 +0000 (17:22 +1100)
committerBen Myers <bpm@sgi.com>
Thu, 8 Nov 2012 17:09:17 +0000 (11:09 -0600)
commit2d4d419c52643551d926019106c524c8170adc9e
tree4780dc3e95b60d3ede2682547a013e86e4c95e88
parent64ba458f6d48ddf15e8ad07f4007d4b382d205bf
xfs: silence uninitialised f.file warning.

Uninitialised variable build warning introduced by 7b52cc5 ("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: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_ioctl.c