summaryrefslogtreecommitdiffstats
path: root/utils/statd/callback.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-29 13:08:03 +1000
committerNeil Brown <neilb@suse.de>2007-03-29 13:08:03 +1000
commit25001e18ff31933d1f40b510da969a8cee317310 (patch)
tree2c2bff0ac8c73ac8e811b917b1aa0230a87ca32e /utils/statd/callback.c
parent849cdc25d0060621662b7b311e02bcabc92fb4d7 (diff)
downloadnfs-utils-25001e18ff31933d1f40b510da969a8cee317310.tar.gz
nfs-utils-25001e18ff31933d1f40b510da969a8cee317310.tar.xz
nfs-utils-25001e18ff31933d1f40b510da969a8cee317310.zip
statd - only unregister/register once.
The for loop that restarts on SIGUSR or simu_reboot currently includes several once-only things, that are probably best taken out of the loop. We also take the unregister/register out of the loop as if statd does drop privileges, then the second register won't use a privileged port properly. On the whole, cleaner code. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/statd/callback.c')
0 files changed, 0 insertions, 0 deletions