From: Chuck Lever Date: Wed, 28 May 2014 14:33:00 +0000 (-0400) Subject: xprtrdma: mount reports "Invalid mount option" if memreg mode not supported X-Git-Tag: omap-for-v3.16/fixes-against-rc1~64^2~5^2~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd9ade711599e7672a635add0406080856f8b92;p=pandora-kernel.git xprtrdma: mount reports "Invalid mount option" if memreg mode not supported If the selected memory registration mode is not supported by the underlying provider/HCA, the NFS mount command reports that there was an invalid mount option, and fails. This is misleading. Reporting a problem allocating memory is a lot closer to the truth. Signed-off-by: Chuck Lever Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed