mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 01:36:52 +09:00
pnfsblock: fix size of upcall message
commit fdc17abbc4 upstream.
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>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
029bc65941
commit
7ab7073b8b
@@ -150,7 +150,7 @@ BLK_LSEG2EXT(struct pnfs_layout_segment *lseg)
|
||||
}
|
||||
|
||||
struct bl_dev_msg {
|
||||
int status;
|
||||
int32_t status;
|
||||
uint32_t major, minor;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user