diff options
author | Jim Rees <rees@umich.edu> | 2011-09-22 21:50:09 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-18 12:08:11 -0400 |
commit | fdc17abbc4b6094b34ee8ff5d91eaba8637594a2 (patch) | |
tree | e69fd0ed928128eac8adb4ea5ab523410d9eb276 | |
parent | 516f2e24faa7548a61d9ba790958528469c2e284 (diff) |
pnfsblock: fix size of upcall message
Make the status field explicitly 32 bits. "...it's unlikely that the kernel
and userspace would differ on the size of an int here, but it might be a
good idea to go ahead and make that explicitly 32 bits in case we end up
dealing with more exotic arches at some point in the future."
Suggested-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Jim Rees <rees@umich.edu>
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Cc: stable@kernel.org [3.0]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/blocklayout/blocklayout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/blocklayout/blocklayout.h b/fs/nfs/blocklayout/blocklayout.h index f27d827960a3..58dc256402e3 100644 --- a/fs/nfs/blocklayout/blocklayout.h +++ b/fs/nfs/blocklayout/blocklayout.h | |||
@@ -150,7 +150,7 @@ BLK_LSEG2EXT(struct pnfs_layout_segment *lseg) | |||
150 | } | 150 | } |
151 | 151 | ||
152 | struct bl_dev_msg { | 152 | struct bl_dev_msg { |
153 | int status; | 153 | int32_t status; |
154 | uint32_t major, minor; | 154 | uint32_t major, minor; |
155 | }; | 155 | }; |
156 | 156 | ||