]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
statd: Use the new nsm_ file.c calls in sm_notify
authorChuck Lever <chuck.lever@oracle.com>
Tue, 12 Jan 2010 00:10:49 +0000 (19:10 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 12 Jan 2010 10:50:18 +0000 (05:50 -0500)
Replace open-coded accesses to on-disk NSM data with calls to the new
libnsm.a API.

One major change is that sync(2) is no longer called when the NSM
state number is updated at boot time.  Otherwise sm-notify should
behave much the same as it did before.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found