summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-12-21 21:59:21 +0000
committerpjd <pjd@FreeBSD.org>2010-12-21 21:59:21 +0000
commitf097c06091d0dba99e738f1e0260f3c1e0245bad (patch)
tree4184e70b908373fac525d5ad522447316851f190 /release
parent822e0f931084552d9e1e059285ffef0e1af2ab81 (diff)
downloadFreeBSD-src-f097c06091d0dba99e738f1e0260f3c1e0245bad.zip
FreeBSD-src-f097c06091d0dba99e738f1e0260f3c1e0245bad.tar.gz
Close body of the VFS_UNLOCK_GIANT() macro into do { } while (0) loop,
so it can be used in code like this: if (cond) VFS_UNLOCK_GIANT(vfslocked); else ; /* Do something else. */ Before the change, compiler couldn't decide on its own if else should be applied to the 'if (cond)' or to the if statement inside VFS_UNLOCK_GIANT() macro.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud