[GFS2] Remove incorrect initialisation of gh_owner
The gh_owner field shouldn't be set or reset outside the glock code. These were left over from when recursive locking was allowed. It isn't any more, so they are not needed. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
@@ -319,7 +319,6 @@ static int inode_create(struct gfs2_glock *i_gl, const struct gfs2_inum *inum,
|
||||
if (error)
|
||||
goto fail;
|
||||
}
|
||||
ip->i_iopen_gh.gh_owner = NULL;
|
||||
|
||||
spin_lock(&io_gl->gl_spin);
|
||||
gfs2_glock_hold(i_gl);
|
||||
|
Reference in New Issue
Block a user