]> git.decadent.org.uk Git - nfs-utils.git/commit
libnfs.a: eliminate another dependency on a global variable
authorChuck Lever <chuck.lever@oracle.com>
Sat, 28 Jul 2007 21:51:00 +0000 (17:51 -0400)
committerNeil Brown <neilb@suse.de>
Mon, 30 Jul 2007 06:19:34 +0000 (16:19 +1000)
commit40b9d523a07cf5d146b3be2724c58e9e872a0836
tree7cf4cad029b3b5e5e07830b0ab69426e2058403c
parenta786c016f0af6fa116ae2483d6261dbed009d87e
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>
support/include/Makefile.am
support/include/fstab.h [deleted file]
support/nfs/Makefile.am
utils/mount/Makefile.am
utils/mount/fstab.c [new file with mode: 0644]
utils/mount/fstab.h [new file with mode: 0644]