xfs: make xfs_free_eofblocks() non-static, return EAGAIN on trylock failure
authorBrian Foster <bfoster@redhat.com>
Tue, 6 Nov 2012 14:50:41 +0000 (09:50 -0500)
committerBen Myers <bpm@sgi.com>
Thu, 8 Nov 2012 21:24:26 +0000 (15:24 -0600)
commit40165e27617e2a98bf8588001d2f2872fae2fee2
treefa67853de394ffe6d63aa981836a1e780def25f2
parent72b53efa4a6125a4c334871c58268c430605819a
xfs: make xfs_free_eofblocks() non-static, return EAGAIN on trylock failure

Turn xfs_free_eofblocks() into a non-static function, return EAGAIN to
indicate trylock failure and make sure this error is not propagated in
xfs_release().

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.h