libglusterfs:Acquire lock before accessing fdtable contents during statedump.
libglusterfs:Acquire lock before accessing fdtable contents during statedump.

Hold lock while dumping fdtable.
Dump only inode ino instead of the complete inode.

Signed-off-by: Anand V. Avati <avati@dev.gluster.com>

BUG: 213 (Support for process state dump)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=213

Kaushikbv/Gluster,Kaushikbv/Gluster,Kaushikbv/Gluster