Added fs_volume.h header, "resolved" one of the last old ERR_* error codes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9870 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1fd17e4f24
commit
5b532f8614
@ -12,6 +12,7 @@
|
|||||||
#include <StorageDefs.h>
|
#include <StorageDefs.h>
|
||||||
#include <fs_info.h>
|
#include <fs_info.h>
|
||||||
#include <fs_interface.h>
|
#include <fs_interface.h>
|
||||||
|
#include <fs_volume.h>
|
||||||
|
|
||||||
#include <disk_device_manager/KDiskDevice.h>
|
#include <disk_device_manager/KDiskDevice.h>
|
||||||
#include <disk_device_manager/KDiskDeviceManager.h>
|
#include <disk_device_manager/KDiskDeviceManager.h>
|
||||||
@ -4013,7 +4014,7 @@ fs_unmount(char *path, bool kernel)
|
|||||||
|
|
||||||
err = path_to_vnode(path, true, &vnode, kernel);
|
err = path_to_vnode(path, true, &vnode, kernel);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return ERR_VFS_PATH_NOT_FOUND;
|
return B_ENTRY_NOT_FOUND;
|
||||||
|
|
||||||
RecursiveLocker mountOpLocker(sMountOpLock);
|
RecursiveLocker mountOpLocker(sMountOpLock);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user