mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
Simplify preprocessor logic in afs_pioctl
We had identical code in two branches of an if/elif/else path. Merge them together. This allows two DARWIN80_ENV blocks to be coalesced; reindent them correctly while we're here. Change-Id: Icaa047994ec970ee8187a7811ee69de2f36a0503 Reviewed-on: http://gerrit.openafs.org/2222 Tested-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
df38462c64
commit
1f2b84f1b6
@ -3435,10 +3435,6 @@ DECL_PIOCTL(PFlushVolumeData)
|
||||
goto loop;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#if defined(AFS_SGI_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_LINUX20_ENV)
|
||||
AFS_FAST_HOLD(tvc);
|
||||
#elif defined(AFS_DARWIN80_ENV)
|
||||
vp = AFSTOV(tvc);
|
||||
if (vnode_get(vp))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user