diff options
Diffstat (limited to 'usr/src/uts/common/os/devcache.c')
-rw-r--r-- | usr/src/uts/common/os/devcache.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/common/os/devcache.c b/usr/src/uts/common/os/devcache.c index 8e1313d487..75ed982940 100644 --- a/usr/src/uts/common/os/devcache.c +++ b/usr/src/uts/common/os/devcache.c @@ -75,7 +75,7 @@ * The data per client is entirely within the control of * the client. When reading, data unpacked from the backing * store should be inserted in the list. The pointer to - * the list can be retreived via nvf_list(). When writing, + * the list can be retrieved via nvf_list(). When writing, * the data on the list is to be packed and returned to the * nvpdaemon as an nvlist. * @@ -618,7 +618,7 @@ kfclose(kfile_t *fp) KFDEBUG((CE_CONT, "close: %s\n", fp->kf_fname)); if ((fp->kf_vnflags & FWRITE) && fp->kf_state == 0) { - rval = VOP_FSYNC(fp->kf_vp, FSYNC, kcred); + rval = VOP_FSYNC(fp->kf_vp, FSYNC, kcred, NULL); if (rval != 0) { nvf_error("%s: sync error %d\n", fp->kf_fname, rval); @@ -626,7 +626,8 @@ kfclose(kfile_t *fp) KFDEBUG((CE_CONT, "%s: sync ok\n", fp->kf_fname)); } - rval = VOP_CLOSE(fp->kf_vp, fp->kf_vnflags, 1, (offset_t)0, kcred); + rval = VOP_CLOSE(fp->kf_vp, fp->kf_vnflags, 1, (offset_t)0, kcred, + NULL); if (rval != 0) { if (fp->kf_state == 0) { nvf_error("%s: close error %d\n", |