Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/tmpfs/tmpfs_subr.c
Context not available. | |||||
#include <sys/namei.h> | #include <sys/namei.h> | ||||
#include <sys/priv.h> | #include <sys/priv.h> | ||||
#include <sys/proc.h> | #include <sys/proc.h> | ||||
#include <sys/random.h> | |||||
#include <sys/rwlock.h> | #include <sys/rwlock.h> | ||||
#include <sys/stat.h> | #include <sys/stat.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
Context not available. | |||||
node->tn_status &= ~(TMPFS_NODE_ACCESSED | TMPFS_NODE_MODIFIED | | node->tn_status &= ~(TMPFS_NODE_ACCESSED | TMPFS_NODE_MODIFIED | | ||||
TMPFS_NODE_CHANGED); | TMPFS_NODE_CHANGED); | ||||
TMPFS_NODE_UNLOCK(node); | TMPFS_NODE_UNLOCK(node); | ||||
/* XXX: FIX? The entropy here is desirable, but the harvesting may be expensive */ | |||||
random_harvest_queue(node, sizeof(*node), 1, RANDOM_FS_ATIME); | |||||
} | } | ||||
void | void | ||||
Context not available. |