diff options
author | NeilBrown <neilb@suse.de> | 2013-10-24 15:56:18 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2013-10-24 16:06:01 -0400 |
commit | a90df3f9270464c4a234e63626c5870c76997a90 (patch) | |
tree | 7d5ce6b2ed387c503568854c773d4876fd7ccca7 /support/export/hostname.c | |
parent | 232eb7ad09f9fd2ae4918699f850e4f8cadc2632 (diff) | |
download | nfs-utils-a90df3f9270464c4a234e63626c5870c76997a90.tar.gz nfs-utils-a90df3f9270464c4a234e63626c5870c76997a90.tar.xz nfs-utils-a90df3f9270464c4a234e63626c5870c76997a90.zip |
mountd: fix bug affecting exports of dirs with 64bit inode number.
parse_fsid() is currently truncating all inode numbers to
32bits, and assumes that 'int' is 32 bits (which it probably is,
but we shouldn't assume).
So make the 'inode' field in 'struct parsed_fsid' a 64 bit field.
and only memcpy into variables or fields that have been declared
to a specific bit size.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/hostname.c')
0 files changed, 0 insertions, 0 deletions