]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: mnt_freq and mnt_pass are always zero
authorChuck Lever <chuck.lever@oracle.com>
Thu, 28 Oct 2010 17:13:19 +0000 (13:13 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 1 Nov 2010 12:05:14 +0000 (08:05 -0400)
commitab2cdb859f738a25e2567a2ec674cfa78a0a175d
treef54c8b748aad3cee7845ab1342a64d6bb9f10f10
parentbc4a0c42570d5620cc1bb32428e16b9c9b5f3863
mount.nfs: mnt_freq and mnt_pass are always zero

Clean up.

No need to pass constant zeros to add_mtab() from its only call site.
Ensure that initialization of a struct mntent is consistent in both
places that it is done.

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