Fix type problem in fsal_check_access_no_acl and add more debug

mask MUST be of type fsal_accessflags_t, mode_t might not be big enough
for FSAL_[RWX]_OK flags (it isn't on FreeBSD).

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Pass fixed up opcode to server stats

Illegal ops can go past the end of the stats array. opcode is already
fixed up to be 0 if the opcode is out of range.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Merge remote-tracking branch 'ffilz/some-2.0-fixes' into stable-2.0

Bugfixes from Panasas testing

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix showmount -e giving erroneous return

Fixes BZ #1046557

Signed-off-by: Jim Lieb <jlieb@panasas.com>

(cherry picked from commit 4e2336a50260513fb7673bc4391e95daeb625c5b)

Signed-off-by: Jim Lieb <jlieb@panasas.com>