From 40b9d523a07cf5d146b3be2724c58e9e872a0836 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Sat, 28 Jul 2007 17:51:00 -0400 Subject: 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 Signed-off-by: Neil Brown --- support/nfs/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/nfs') 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 -- cgit