diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2012-08-06 09:08:53 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-08-06 09:11:27 -0400 |
commit | 41f32cd96eca95a2730603ebc539440c48a1dda5 (patch) | |
tree | 892c0b4b4cb4fc1c4e627aca64c33fe8ff69e067 /utils/gssd/krb5_util.c | |
parent | e4e5dadd7685415059173e438a5710a9e51ffbff (diff) | |
download | nfs-utils-41f32cd96eca95a2730603ebc539440c48a1dda5.tar.gz nfs-utils-41f32cd96eca95a2730603ebc539440c48a1dda5.tar.xz nfs-utils-41f32cd96eca95a2730603ebc539440c48a1dda5.zip |
rpc.gssd: don't call poll(2) twice a second
Use ppoll() instead.
[ cel Wed Aug 1 11:44:46 EDT 2012 - autoconfiscated Bruce's version ]
Related clean-up: Since we're pulling the poll/ppoll call out into a
separate function, note that the second argument of poll(2) and
ppoll(2) is not an int, it's an unsigned long. The nfds_t typedef
is a recent invention, so use the raw type for compatibility with
older glibc headers.
Acked-by: J. Bruce Fields" <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/krb5_util.c')
0 files changed, 0 insertions, 0 deletions