]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r323978
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Oct 2017 23:33:50 +0000 (23:33 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Oct 2017 23:33:50 +0000 (23:33 +0000)
commit9b6ab2e7b32593415533d8972ca29f4e350dbfef
tree7a567a63d3071c6a624b6c1578a962cc80756a82
parentffa9534430a674464098af823050bdced404ebc4
MFC: r323978
Change a panic to an error return.

There was a panic() in the NFS server's write operation that didn't
need to be a panic() and could just be an error return.
This patch makes that change.
Found by code inspection during development of the pNFS service.

git-svn-id: svn://svn.freebsd.org/base/stable/10@324544 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdserv.c