vol: Remove redundant vop check in GetVolume
authorAndrew Deason <adeason@sinenomine.net>
Wed, 2 May 2012 17:11:01 +0000 (12:11 -0500)
committerDerrick Brashear <shadow@dementix.org>
Tue, 8 May 2012 17:26:43 +0000 (10:26 -0700)
commit1e13ae53b3f1e753211f3ed39ae9d2ea9597cf48
tree13eee88e9c44a0d8b40d049dec49cfc91430755d
parent80cb7bdebe2d8f852338eebc26c1bf507adbb4c5
vol: Remove redundant vop check in GetVolume

VAttachVolumeByVp_r (specifically attach_check_vop in attach2) already
handles checking for conflicting vol ops, and gives us VOFFLINE
appropriately. We don't need to check again in GetVolume.

Change-Id: Ibb93d423d3c856dd957a2569412a85698180ff8e
Reviewed-on: http://gerrit.openafs.org/7304
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Tom Keiser <tkeiser@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/vol/volume.c