summaryrefslogtreecommitdiffstats
path: root/support/nfs
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-07-28 17:51:00 -0400
committerNeil Brown <neilb@suse.de>2007-07-30 16:19:34 +1000
commit40b9d523a07cf5d146b3be2724c58e9e872a0836 (patch)
tree7cf4cad029b3b5e5e07830b0ab69426e2058403c /support/nfs
parenta786c016f0af6fa116ae2483d6261dbed009d87e (diff)
downloadnfs-utils-40b9d523a07cf5d146b3be2724c58e9e872a0836.tar.gz
nfs-utils-40b9d523a07cf5d146b3be2724c58e9e872a0836.tar.xz
nfs-utils-40b9d523a07cf5d146b3be2724c58e9e872a0836.zip
libnfs.a: eliminate another dependency on a global variable
The file support/nfs/fstab.c, which is linked into libnfs.a, depends on the global variable "verbose." This variable is defined and used only in the mount command, and the functions in fstab.c are used only by the mount command. Move fstab.c and support/include/fstab.h to utils/mount. This file placement is also consistent with at least one other mount helper, mount.ocfs2. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/nfs')
-rw-r--r--support/nfs/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/nfs/Makefile.am b/support/nfs/Makefile.am
index 82353a9..87f3949 100644
--- a/support/nfs/Makefile.am
+++ b/support/nfs/Makefile.am
@@ -4,7 +4,7 @@ noinst_LIBRARIES = libnfs.a
libnfs_a_SOURCES = exports.c rmtab.c xio.c rpcmisc.c rpcdispatch.c \
xlog.c xcommon.c wildmat.c nfssvc.c nfsclient.c \
nfsexport.c getfh.c nfsctl.c \
- svc_socket.c cacheio.c closeall.c fstab.c nfs_mntent.c
+ svc_socket.c cacheio.c closeall.c nfs_mntent.c
MAINTAINERCLEANFILES = Makefile.in