• Wendy Cheng's avatar
    [GFS2] nfsd readdirplus assertion failure · 549ae0ac
    Wendy Cheng authored
    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: default avatarS. Wendy Cheng <wcheng@redhat.com>
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    549ae0ac
ops_dentry.c 2.65 KB