diff options
author | NeilBrown <neilb@suse.de> | 2012-11-28 14:32:00 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-11-28 14:48:01 -0500 |
commit | c889e30a376e18fdef8ec74ade9897aa9e3d803a (patch) | |
tree | 29336165bfe303b5f3389b4d85b51a72a11de0ec /linux-nfs/THANKS | |
parent | a56989b6658c3555d965f51ff636754dec440e87 (diff) | |
download | nfs-utils-c889e30a376e18fdef8ec74ade9897aa9e3d803a.tar.gz nfs-utils-c889e30a376e18fdef8ec74ade9897aa9e3d803a.tar.xz nfs-utils-c889e30a376e18fdef8ec74ade9897aa9e3d803a.zip |
gssd_proc: use pollsize, not FD_ALLOC_BLOCK, in get_poll_index()
get_poll_index wants to walk the entire "pollarray", but uses
the constant FD_ALLOC_BLOCK, rather than the variable
pollsize (which has the same value). If we want to make the
size of the array variable, it is best not to use the constant.
As pollsize is 'unsigned long', 'i' should be too.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'linux-nfs/THANKS')
0 files changed, 0 insertions, 0 deletions