]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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)
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>

No differences found