]> git.decadent.org.uk Git - nfs-utils.git/commit
Handle -o remount better
authorNeil Brown <neilb@suse.de>
Tue, 20 Mar 2007 00:13:42 +0000 (11:13 +1100)
committerNeil Brown <neilb@suse.de>
Tue, 20 Mar 2007 00:13:42 +0000 (11:13 +1100)
commit390e67de5d9fe919d1894359536f0c5527fa2331
tree34f3657f5b807b9c1d6a303fcd814ee6cb9487c9
parent3482b1145c2c9a39f1dcaabc32e36eb234b91447
Handle -o remount better

On -o remount, we need to update the entry in mtab rather than
add a new one.  update_mtab does this so use that.
However it might free some strings that shouldn't be freed, so
stop it from calling free - the program will exit soon anyway
so no exit is needed.
support/nfs/fstab.c
utils/mount/mount.c