A few style nits.
This commit is contained in:
parent
9325b9b23b
commit
0f54f8c2b3
@ -331,12 +331,13 @@ namei(struct nameidata *ndp)
|
||||
static int
|
||||
compute_cn_lkflags(struct mount *mp, int lkflags)
|
||||
{
|
||||
|
||||
if (mp == NULL ||
|
||||
((lkflags & LK_SHARED) && !(mp->mnt_kern_flag & MNTK_LOOKUP_SHARED))) {
|
||||
lkflags &= ~LK_SHARED;
|
||||
lkflags |= LK_EXCLUSIVE;
|
||||
}
|
||||
return lkflags;
|
||||
return (lkflags);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user