CID# 30417 Fix read after free

Also, you must destroy mutexes before free so kernel and glibc knows they
are gone.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
CID# 30406 use after free

Signed-off-by: Jim Lieb <jlieb@panasas.com>
CID#18161, 18162: FSAL LUSTRE xattrs: fix sign check on unsigned size_t

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
CID#23778: FSAL LUSTRE xattrs: xattr_name should be MAXNAMLEN+1 long

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
CID#23783: FSAL LUSTRE xattrs: remove dead code

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
CID#23787: FSAL LUSTRE ds: fix fd leak

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
CID#23791: FSAL LUSTRE handle: fix uninitialized variable use

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
CID#23793: FSAL LUSTRE xattrs: remove unreachable return

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Flex grammar was too lax with identifier matching

Remove '.' and '-'

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Pull up Marcus's fixes to ntirpc

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix uninited file_entry in nfs4_op_putfh

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix memory leak of group list in mnt_Export.c

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

Used to walk the parse tree based on an expression

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Extend AddExport DBUS method to identify the export(s) to be added

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Extend manage_exports script and ExportMgr class for AddExport

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix a checkpatch error from earlier

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Remove dead code from nfs_init.c

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Make 9p_attach use nfs_export_get_root_entry

This assures that cache inode LRU reference is properly taken.

Also, clean up this routine to properly release resources on error.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Make pxy_get_dynamic_info use passed obj_hdl

This way statfs will work properly if PROXY mount references
multiple filesystems.

Incidentally gets rid of a problematic reference to exp_root_cache_inode.

See commit 972ed23668efab4933afbb797248bdb46aa4281f for introduction
of this concept.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Make mnt_Mnt use nfs_export_get_root_entry

This makes sure that all the reference counting/validity is proper.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>