mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
Whitespace cleanup.
This commit is contained in:
parent
e3c2930d36
commit
e8f8ad7266
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234157
@ -199,10 +199,10 @@ void __mnt_vnode_markerfree(struct vnode **mvp, struct mount *mp);
|
|||||||
__mnt_vnode_markerfree(&(mvp), (mp))
|
__mnt_vnode_markerfree(&(mvp), (mp))
|
||||||
|
|
||||||
#define MNT_VNODE_FOREACH_ABORT(mp, mvp) \
|
#define MNT_VNODE_FOREACH_ABORT(mp, mvp) \
|
||||||
do { \
|
do { \
|
||||||
MNT_ILOCK(mp); \
|
MNT_ILOCK(mp); \
|
||||||
MNT_VNODE_FOREACH_ABORT_ILOCKED(mp, mvp); \
|
MNT_VNODE_FOREACH_ABORT_ILOCKED(mp, mvp); \
|
||||||
MNT_IUNLOCK(mp); \
|
MNT_IUNLOCK(mp); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define MNT_ILOCK(mp) mtx_lock(&(mp)->mnt_mtx)
|
#define MNT_ILOCK(mp) mtx_lock(&(mp)->mnt_mtx)
|
||||||
@ -211,7 +211,7 @@ void __mnt_vnode_markerfree(struct vnode **mvp, struct mount *mp);
|
|||||||
#define MNT_MTX(mp) (&(mp)->mnt_mtx)
|
#define MNT_MTX(mp) (&(mp)->mnt_mtx)
|
||||||
#define MNT_REF(mp) (mp)->mnt_ref++
|
#define MNT_REF(mp) (mp)->mnt_ref++
|
||||||
#define MNT_REL(mp) do { \
|
#define MNT_REL(mp) do { \
|
||||||
KASSERT((mp)->mnt_ref > 0, ("negative mnt_ref")); \
|
KASSERT((mp)->mnt_ref > 0, ("negative mnt_ref")); \
|
||||||
(mp)->mnt_ref--; \
|
(mp)->mnt_ref--; \
|
||||||
if ((mp)->mnt_ref == 0) \
|
if ((mp)->mnt_ref == 0) \
|
||||||
wakeup((mp)); \
|
wakeup((mp)); \
|
||||||
|
Loading…
Reference in New Issue
Block a user