Dan Kenigsberg has submitted this change and it was merged.

Change subject: mount.py: handle (deleted) mount points
......................................................................


mount.py: handle (deleted) mount points

If an NFS mount is removed from the server, client side kernel appends
" (deleted)" to it specification. It comes from fs/dcache.c's d_path()
function:

  Convert a dentry into an ASCII path name. If the entry has been deleted
  the string " (deleted)" is appended. Note that this is ambiguous.

In this patch we assume that every mount specification ending with this
string is indeed a deleted one, and not a funky nfs server provided by
an evil admin that hates Linux.

Change-Id: I8fdeda5f2900d818912ef5a939b60687462d5344
Bug-Url: http://bugzilla.redhat.com/807351
Signed-off-by: Saggi Mizrahi <[email protected]>
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M vdsm/storage/mount.py
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Haim Ateya: Verified
  Federico Simoncelli: Looks good to me, approved
  Dan Kenigsberg: 


--
To view, visit http://gerrit.ovirt.org/3261
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8fdeda5f2900d818912ef5a939b60687462d5344
Gerrit-PatchSet: 16
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Daniel Paikov <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Haim Ateya <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to