From: Peng Tao Date: Wed, 29 May 2013 13:40:56 +0000 (+0800) Subject: staging/lustre: fix LBUG and inode refcount bug X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~402 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e4db2b325bc0fa6517ae6081b9284a207b9a688;p=pandora-kernel.git staging/lustre: fix LBUG and inode refcount bug ldlm_proc_setup and ldlm_proc_cleanup should reset global pde pointers otherwise remount may hit LASSERT(ldlm_ns_proc_dir == NULL); Also in libcfs_sock_ioctl, fput() includes itself sock_release. So don't call sock_release twice otherwise kernel may oops due to incorrect inode ref counting. Signed-off-by: Peng Tao Signed-off-by: Andreas Dilger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed