* Removed volume lock from bfs_get_vnode() - it's not necessary on Haiku.
* Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26152 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -500,10 +500,6 @@ bfs_lookup(fs_volume *_volume, fs_vnode *_directory, const char *file,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
RecursiveLocker locker(volume->Lock());
|
|
||||||
// we have to hold the volume lock in order to not
|
|
||||||
// interfere with new_vnode() here
|
|
||||||
|
|
||||||
Inode *inode;
|
Inode *inode;
|
||||||
status = get_vnode(volume->FSVolume(), *_vnodeID, (void **)&inode);
|
status = get_vnode(volume->FSVolume(), *_vnodeID, (void **)&inode);
|
||||||
if (status != B_OK) {
|
if (status != B_OK) {
|
||||||
@@ -1378,8 +1374,7 @@ bfs_read_link(fs_volume *_volume, fs_vnode *_node, char *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark -
|
// #pragma mark - Directory functions
|
||||||
// Directory functions
|
|
||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
@@ -1540,8 +1535,7 @@ bfs_free_dir_cookie(fs_volume *_volume, fs_vnode *node, void *_cookie)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark -
|
// #pragma mark - Attribute functions
|
||||||
// Attribute functions
|
|
||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
@@ -1821,8 +1815,7 @@ bfs_create_special_node(fs_volume *_volume, fs_vnode *_directory,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark -
|
// #pragma mark - Index functions
|
||||||
// Index functions
|
|
||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
@@ -2003,8 +1996,7 @@ bfs_stat_index(fs_volume *_volume, const char *name, struct stat *stat)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark -
|
// #pragma mark - Query functions
|
||||||
// Query functions
|
|
||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
|
|||||||
Reference in New Issue
Block a user