Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfsclient/nfs_clvnops.c
Show First 20 Lines • Show All 3,436 Lines • ▼ Show 20 Lines | nfs_set_text(struct vop_set_text_args *ap) | ||||
ncl_flush(vp, MNT_WAIT, curthread, 0, 0); | ncl_flush(vp, MNT_WAIT, curthread, 0, 0); | ||||
/* And, finally, make sure that n_mtime is up to date. */ | /* And, finally, make sure that n_mtime is up to date. */ | ||||
np = VTONFS(vp); | np = VTONFS(vp); | ||||
mtx_lock(&np->n_mtx); | mtx_lock(&np->n_mtx); | ||||
np->n_mtime = np->n_vattr.na_mtime; | np->n_mtime = np->n_vattr.na_mtime; | ||||
mtx_unlock(&np->n_mtx); | mtx_unlock(&np->n_mtx); | ||||
vp->v_vflag |= VV_TEXT; | return (vop_stdset_text(ap)); | ||||
return (0); | |||||
} | } | ||||
/* | /* | ||||
* Return POSIX pathconf information applicable to nfs filesystems. | * Return POSIX pathconf information applicable to nfs filesystems. | ||||
*/ | */ | ||||
static int | static int | ||||
nfs_pathconf(struct vop_pathconf_args *ap) | nfs_pathconf(struct vop_pathconf_args *ap) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |