diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-07-28 17:51:00 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-07-30 16:19:34 +1000 |
commit | 40b9d523a07cf5d146b3be2724c58e9e872a0836 (patch) | |
tree | 7cf4cad029b3b5e5e07830b0ab69426e2058403c /utils/mount/Makefile.am | |
parent | a786c016f0af6fa116ae2483d6261dbed009d87e (diff) | |
download | nfs-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 'utils/mount/Makefile.am')
-rw-r--r-- | utils/mount/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mount/Makefile.am b/utils/mount/Makefile.am index be83e2c..a5d7292 100644 --- a/utils/mount/Makefile.am +++ b/utils/mount/Makefile.am @@ -9,10 +9,10 @@ man5_MANS = nfs.man sbin_PROGRAMS = mount.nfs EXTRA_DIST = nfsmount.x $(man8_MANS) $(man5_MANS) -mount_nfs_SOURCES = mount.c error.c network.c \ +mount_nfs_SOURCES = mount.c error.c network.c fstab.c \ nfsmount.c nfs4mount.c \ nfsumount.c \ - mount_constants.h error.h network.h \ + mount_constants.h error.h network.h fstab.h \ nfs4_mount.h nfs_mount4.h mount_nfs_LDADD = ../../support/nfs/libnfs.a \ |