diff options
author | trasz <trasz@FreeBSD.org> | 2010-02-10 18:56:49 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-02-10 18:56:49 +0000 |
commit | bf6995c4bbbfb8aaa1158ef20eda599bb138c4cf (patch) | |
tree | 66879311a45104e27d80dccc6037152fa16e6a89 /sys/ufs | |
parent | 3e4cd4ab753b1d8760469efccd5719cad85c0ce0 (diff) | |
download | FreeBSD-src-bf6995c4bbbfb8aaa1158ef20eda599bb138c4cf.zip FreeBSD-src-bf6995c4bbbfb8aaa1158ef20eda599bb138c4cf.tar.gz |
Remove unused variable.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 6eb8964..8aa9f9c 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -138,7 +138,7 @@ ffs_mount(struct mount *mp) struct ufsmount *ump = 0; struct fs *fs; int error, flags; - u_int mntorflags, mntandnotflags; + u_int mntorflags; accmode_t accmode; struct nameidata ndp; char *fspec; @@ -163,7 +163,6 @@ ffs_mount(struct mount *mp) return (error); mntorflags = 0; - mntandnotflags = 0; if (vfs_getopt(mp->mnt_optnew, "acls", NULL, NULL) == 0) mntorflags |= MNT_ACLS; @@ -187,7 +186,7 @@ ffs_mount(struct mount *mp) } MNT_ILOCK(mp); - mp->mnt_flag = (mp->mnt_flag | mntorflags) & ~mntandnotflags; + mp->mnt_flag |= mntorflags; MNT_IUNLOCK(mp); /* * If updating, check whether changing from read-only to |