[GFS2] Fix recursive locking in gfs2_getattr
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 27 Nov 2006 15:12:05 +0000 (10:12 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Nov 2006 15:36:56 +0000 (10:36 -0500)
commitdcf3dd852f554bb0016aa23892596717cc123a26
tree643785eb26407b7f4690ad804434b93636ae01ab
parent300c7d75f3a5e8edd3e390ccd56b808f3fb14e33
[GFS2] Fix recursive locking in gfs2_getattr

The readdirplus NFS operation can result in gfs2_getattr being
called with the glock already held. In this case we do not want
to try and grab the lock again.

This fixes Red Hat bugzilla #215727

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_inode.c