Revert previous commits which I committed by mistake.
Approved by: re (implicit) Pointy hat to: me
This commit is contained in:
parent
dc39b85c98
commit
81f7b063ec
@ -1059,15 +1059,6 @@ kqueue_expand(struct kqueue *kq, struct filterops *fops, uintptr_t ident,
|
||||
int fd;
|
||||
int mflag = waitok ? M_WAITOK : M_NOWAIT;
|
||||
|
||||
/*
|
||||
* knote locks the KQ and filt_proc calls kqueue_register if _TRACK
|
||||
* is set. Return early so we don't assert KQ_NOTOWNED in this
|
||||
* case. We have a knote in the hash, so we have the table.
|
||||
*/
|
||||
if ((fops->f_isfd && kq->kq_knlistsize > ident) ||
|
||||
(!fops->f_isfd && kq->kq_knhashmask != 0))
|
||||
return 0;
|
||||
|
||||
KQ_NOTOWNED(kq);
|
||||
|
||||
if (fops->f_isfd) {
|
||||
|
@ -638,10 +638,6 @@ vfs_donmount(struct thread *td, int fsflags, struct uio *fsoptions)
|
||||
fsflags &= ~MNT_ASYNC;
|
||||
else if (strcmp(opt->name, "noatime") == 0)
|
||||
fsflags |= MNT_NOATIME;
|
||||
else if (strcmp(opt->name, "atime") == 0) {
|
||||
free(opt->name, M_MOUNT);
|
||||
opt->name = strdup("nonoatime", M_MOUNT);
|
||||
}
|
||||
else if (strcmp(opt->name, "noclusterr") == 0)
|
||||
fsflags |= MNT_NOCLUSTERR;
|
||||
else if (strcmp(opt->name, "noclusterw") == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user