From: Wendy Cheng Date: Tue, 6 Feb 2007 08:52:16 +0000 (-0500) Subject: [GFS2] nfsd readdirplus assertion failure X-Git-Tag: v2.6.21-rc1~92^2~35^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=549ae0ac3d574a682e82b02e79259a65445a675b;p=pandora-kernel.git [GFS2] nfsd readdirplus assertion failure Glock assertion failure found in '07 NFS connectathon. One of the NFSDs is doing a "readdirplus" procedure call. It passes the logic into gfs2_readdir() where it obtains its directory inode glock. This is then followed by filehandle construction that invokes lookup code. It hits the assertion failure while trying to obtain the inode glock again inside gfs2_drevalidate(). This patch bypasses the recursive glock call if caller already holds the lock. Signed-off-by: S. Wendy Cheng Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed