From: Chuck Lever Date: Mon, 16 Jul 2007 20:28:26 +0000 (-0400) Subject: mount.nfs: clean-up add_mtab X-Git-Tag: nfs-utils-1-1-1~147 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4842ba48efbefddc8d21d67c9d48667ca5fdeb1e;hp=4842ba48efbefddc8d21d67c9d48667ca5fdeb1e;p=nfs-utils.git mount.nfs: clean-up add_mtab Clean up add_mtab(), and make /sbin/mount.nfs[4] return a proper error if it fails. Also include an unbalanced unlock_mtab() noticed by Steve D. Signed-off-by: Chuck Lever Signed-off-by: Neil Brown ---