diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-02-07 00:13:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 08:42:06 -0800 |
commit | b1e058da50f7938e9c9e963e978b0730bba4ad32 (patch) | |
tree | 77dbff919c9c7f1d60d69426726c9aad6a2348a3 /fs/gfs2/incore.h | |
parent | 488b5ec871191359b9b79262a3d48456dae7ea5f (diff) | |
download | talos-op-linux-b1e058da50f7938e9c9e963e978b0730bba4ad32.tar.gz talos-op-linux-b1e058da50f7938e9c9e963e978b0730bba4ad32.zip |
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>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 513aaf0dc0ab..4b724e772602 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -151,7 +151,7 @@ struct gfs2_holder { struct list_head gh_list; struct gfs2_glock *gh_gl; - pid_t gh_owner_pid; + struct pid *gh_owner_pid; unsigned int gh_state; unsigned gh_flags; |