]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add checks for the Flexible File layout to LayoutRecall callbacks.
authorRick Macklem <rmacklem@FreeBSD.org>
Sun, 10 Jun 2018 19:03:21 +0000 (19:03 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Sun, 10 Jun 2018 19:03:21 +0000 (19:03 +0000)
commit8097753476d28d1cdbe20a9c377f4071b0c52edd
treecefb631a4221f5212b19a8cdda73d419127b42ed
parent7f7bc5b2f974691a958e4672d460c435d8394d33
Add checks for the Flexible File layout to LayoutRecall callbacks.

The Flexible File layout case wasn't handled by LayoutRecall callbacks
because it just checked for File layout and returned NFSERR_NOMATCHLAYOUT
otherwise. This patch adds the Flexible File layout handling.
Found during testing of the pNFS server.

MFC after: 2 weeks
sys/fs/nfsclient/nfs_clstate.c