Returned unmount errors in ntfs-3g.probe (Diego Elio Petteno)
ntfs-3g.probe is used to get information about mounting errors, this extends the use for unmounting errors.edge.strict_endians
parent
528b4303b2
commit
d85675bf6d
|
@ -74,7 +74,8 @@ static int ntfs_open(const char *device)
|
|||
if (!vol)
|
||||
ret = ntfs_volume_error(errno);
|
||||
|
||||
ntfs_umount(vol, FALSE);
|
||||
if (ret == 0 && ntfs_umount(vol, FALSE) == -1)
|
||||
ret = ntfs_volume_error(errno);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue