diff options
Diffstat (limited to 'usr/src/uts')
-rw-r--r-- | usr/src/uts/common/fs/nfs/nfs4_srv.c | 2 | ||||
-rw-r--r-- | usr/src/uts/common/fs/nfs/nfs4_vfsops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/fs/nfs/nfs4_srv.c b/usr/src/uts/common/fs/nfs/nfs4_srv.c index c7163712c0..ac584c9d62 100644 --- a/usr/src/uts/common/fs/nfs/nfs4_srv.c +++ b/usr/src/uts/common/fs/nfs/nfs4_srv.c @@ -9551,7 +9551,7 @@ nfs4_create_components(char *path, component4 *comp4) if (comp4 != NULL) { bcopy(path, buf, slen); buf[slen] = '\0'; - str_to_utf8(buf, &comp4[ncomp]); + (void) str_to_utf8(buf, &comp4[ncomp]); } ncomp++; /* 1 valid component */ diff --git a/usr/src/uts/common/fs/nfs/nfs4_vfsops.c b/usr/src/uts/common/fs/nfs/nfs4_vfsops.c index 2ebd9d6fdd..f41490d7e4 100644 --- a/usr/src/uts/common/fs/nfs/nfs4_vfsops.c +++ b/usr/src/uts/common/fs/nfs/nfs4_vfsops.c @@ -2146,7 +2146,7 @@ restore_svp(mntinfo4_t *mi, servinfo4_t *svp, servinfo4_t *origsvp) * it might have contained symlinks that were * expanded by nfsgetfh_otw before the failure occurred. */ - nfs_rw_enter_sig(&svp->sv_lock, RW_READER, 0); + (void) nfs_rw_enter_sig(&svp->sv_lock, RW_READER, 0); kmem_free(svp->sv_path, svp->sv_pathlen); svp->sv_path = kmem_alloc(origsvp->sv_pathlen, KM_SLEEP); |