diff options
author | mjg <mjg@FreeBSD.org> | 2017-03-16 09:17:14 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2017-03-16 09:17:14 +0000 |
commit | b7be7eaded3ab375d742177021e0dcc15a86ffa0 (patch) | |
tree | bb0d957f0faaaabcfa6838b94a60460511c756a4 /lib/libgssapi/gss_compare_name.c | |
parent | 8ccd06bc3a50430569bde4e69bce65c4ac636189 (diff) | |
download | FreeBSD-src-b7be7eaded3ab375d742177021e0dcc15a86ffa0.zip FreeBSD-src-b7be7eaded3ab375d742177021e0dcc15a86ffa0.tar.gz |
MFC r312600,r312601,r312602,r312606,r312646:
vfs: refactor _vn_lock
Stop testing for LK_RETRY and error multiple times. Also postpone the
VI_DOOMED until after LK_RETRY was seen as it reads from the vnode.
No functional changes.
==
vfs: fix whitespace damage in r312600
While here wrap the previously overly long line so that it fits 80 chars.
==
vfs: __predict_false the need to handle F_HASLOCK
Also reorder the check with DTYPE_VNODE. Passed files are vnodes vast
majority of the time, so it is typically true.
==
vfs: fix LK_RETRY logic braino in r312600
==
More style cleanup. Use ANSI C definition for vn_closefile(). Switch
to VNASSERT in _vn_lock(), simplify messages.
Diffstat (limited to 'lib/libgssapi/gss_compare_name.c')
0 files changed, 0 insertions, 0 deletions