[PATCH 0/2] Two more fixes for mount.nfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here are a couple of bug fixes for mount.nfs.

The second patch in this series makes remount work again, but there is
a lingering problem with it (and maybe some other corner cases, not
related to "remount"). 

It turns out that "remount" mounts (even legacy remount, AFAICT) have
always completely wiped the mount options in /etc/mtab, and replaced
them with "remount,foo".  This breaks umount.nfs, which relies on
the contents of /etc/mtab to know how to perform the unmount request.

I'm working on a solution, but it will still be some time.  I felt
that the remount fix here was important enough to send now.

---

Chuck Lever (2):
      mount.nfs: Don't do anything fancy if this is a remount
      mount.nfs: Refactor mount version and protocol autonegotiation


 utils/mount/stropts.c |   95 ++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 81 insertions(+), 14 deletions(-)

-- 
Chuck Lever
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux