]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/nfsd/nfsproc.c
Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux.git] / fs / nfsd / nfsproc.c
index aa013b736073cedcc914b72fcd403d325cd8a67b..543bbe0a556e7387c19e7aa40fd6400698766f86 100644 (file)
@@ -94,7 +94,7 @@ nfsd_proc_setattr(struct svc_rqst *rqstp)
                 * Solaris, at least, doesn't seem to care what the time
                 * request is.  We require it be within 30 minutes of now.
                 */
-               time_t delta = iap->ia_atime.tv_sec - get_seconds();
+               time64_t delta = iap->ia_atime.tv_sec - ktime_get_real_seconds();
 
                nfserr = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP);
                if (nfserr)
@@ -226,7 +226,7 @@ nfsd_proc_write(struct svc_rqst *rqstp)
                return nfserr_io;
        nfserr = nfsd_write(rqstp, fh_copy(&resp->fh, &argp->fh),
                            argp->offset, rqstp->rq_vec, nvecs,
-                           &cnt, NFS_DATA_SYNC);
+                           &cnt, NFS_DATA_SYNC, NULL);
        return nfsd_return_attrs(nfserr, resp);
 }