]> 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>
Fri, 2 Nov 2012 21:18:45 +0000 (16:18 -0500)
commitdf11d91ca9aaf67c59c250641835bd12deac47d5
tree31598dfab767ea9ce3ca7ea7f8d0b5fdb56821b7
parentffd6fc43adf3d083de32f436ace2b6e4e064431a
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