Ganesha stats file is world writable. Making it read/write only for
owner/group.

NOTE: I could use fdopen() instead of closing and doing a fopen()
But, the manpage mentions some specific requirement for fdopen()
and for compatibility reasons avoiding it.

Feature Test Macro Requirements for glibc (see
feature_test_macros(7)):

       fdopen(): _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Take the smaller of MaxRead/max_send_buffer_size and
MaxWrite/max_recv_bufer_size and give that in Fsinfo.
This is workaround for the Tirpc Problem which can't handle
fragments with krb encryption.

Padding 8k when creating tcp transport to avoid fragmentation.

Also change NFS_DEFAULT_RECV/SEND_BUFFER_SIZE to 1M

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Make sure that we release all the locks when state_nlm_notify()
is called through ipmove/recovery.

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>