nfs-utils : fix some bugs of umount.nfs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Use correct UMNT version to do umountmount/ | +6 | 2 replies | |
| 2/4 | Fix nfs4 umount to not used umount proceduremount/ | +12 | 1 reply | |
| 3/4 | Use correct UMNT protocol to do umountmount/ | +27 | 1 reply | |
| 4/4 | Rename add_mtab2() to del_mtab()mount/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] nfs-utils : fix some bugs of umount.nfs
This patch series has 4 patches to fix some bugs of umount.nfs command.
[PATCH 1/4] Use correct UMNT version to do umount [PATCH 2/4] Fix nfs4 umount to not used umount procedure [PATCH 3/4] Use correct UMNT protocol to do umount [PATCH 4/4] Rename add_mtab2() to del_mtab()
These is also some work to do with umount.nfs, such as following:
1. getmntdirbackward() does not free the memory it malloc, which may cause memory leak, also can be found it my patch.
2. If file /proc/mounts it wasn't found and we can not found mount entry in /etc/mtab(it has been removed from this file), umount will fail with message "umount: %s: not found"
3. If the server is down, we can not umount an nfs filesystem, I can make a patch, but I don't know if the server is down, do we have permission to umount? Can umount fail from remote server because of permission problem?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs