gfs2: make gfs2_holder.gh_owner_pid be a struct pid *
authorPavel Emelyanov <xemul@openvz.org>
Thu, 7 Feb 2008 08:13:19 +0000 (00:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:06 +0000 (08:42 -0800)
commitb1e058da50f7938e9c9e963e978b0730bba4ad32
tree77dbff919c9c7f1d60d69426726c9aad6a2348a3
parent488b5ec871191359b9b79262a3d48456dae7ea5f
gfs2: make gfs2_holder.gh_owner_pid be a struct pid *

The gl_owner_pid field is used to get the holder task by its pid and check
whether the current is a holder, so make it in a proper manner, i.e.  via the
struct pid * manipulations.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/gfs2/glock.c
fs/gfs2/glock.h
fs/gfs2/incore.h