A few style nits.

This commit is contained in:
John Baldwin 2008-11-03 19:33:20 +00:00
parent 9325b9b23b
commit 0f54f8c2b3

View File

@ -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);
}
/*