]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r316655
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Apr 2017 12:07:04 +0000 (12:07 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Apr 2017 12:07:04 +0000 (12:07 +0000)
commit6fab883580e17a29ff1fa139dac1aa809e15f56e
tree8325960ac516f4f2b823c201bb480c4a2e384fab
parent8f2a7b5ee5a85fc2fec4106200d50c10d25a6608
MFC: r316655
Fix parsing failure for NFSv4 Setattr operation for failed case.

If an operation that preceeds a Setattr in an NFSv4 compound fails,
there is no bitmap of attributes to parse. Without this patch, the
parsing would fail and return EBADRPC instead of the correct failure
error. This could break recovery from a server crash/reboot.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317406 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clrpcops.c