1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

A few style nits.

This commit is contained in:
John Baldwin 2008-11-03 19:33:20 +00:00
parent 9325b9b23b
commit 0f54f8c2b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184597

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