Do not convert the "snapshot" string to the MNT_SNAPSHOT flag here, since

we do it further down in ffs_vfsops.c

MFC after:	1 month
This commit is contained in:
Craig Rodrigues 2008-05-23 23:33:07 +00:00
parent 693c40a39a
commit a9722ace80
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179268

View File

@ -697,8 +697,6 @@ vfs_donmount(struct thread *td, int fsflags, struct uio *fsoptions)
opt->name = strdup("ro", M_MOUNT);
fsflags |= MNT_RDONLY;
}
else if (strcmp(opt->name, "snapshot") == 0)
fsflags |= MNT_SNAPSHOT;
else if (strcmp(opt->name, "suiddir") == 0)
fsflags |= MNT_SUIDDIR;
else if (strcmp(opt->name, "sync") == 0)