Revert "vfs: functions to change a vnode busy status and ID"
This reverts commit 8497a2cc28.
The VFS layer is not at all ready for this. Many places in the
code implicitly assume ino_t values will never change. This
functionality is only necessary for live shrinking of partitions,
which is a feature niche enough we do not need to worry about
implementing it in the first round of resizing (if ever.)
This commit is contained in:
@@ -945,8 +945,6 @@
|
||||
#define remove_vnode fssh_remove_vnode
|
||||
#define unremove_vnode fssh_unremove_vnode
|
||||
#define get_vnode_removed fssh_get_vnode_removed
|
||||
#define mark_vnode_busy fssh_mark_vnode_busy
|
||||
#define change_vnode_id fssh_change_vnode_id
|
||||
#define volume_for_vnode fssh_volume_for_vnode
|
||||
#define check_access_permissions fssh_check_access_permissions
|
||||
#define read_pages fssh_read_pages
|
||||
|
||||
@@ -360,10 +360,6 @@ extern fssh_status_t fssh_unremove_vnode(fssh_fs_volume *volume,
|
||||
fssh_vnode_id vnodeID);
|
||||
extern fssh_status_t fssh_get_vnode_removed(fssh_fs_volume *volume,
|
||||
fssh_vnode_id vnodeID, bool* removed);
|
||||
extern fssh_status_t fssh_mark_vnode_busy(fssh_fs_volume* volume,
|
||||
fssh_vnode_id vnodeID, bool busy);
|
||||
extern fssh_status_t fssh_change_vnode_id(fssh_fs_volume* volume,
|
||||
fssh_vnode_id vnodeID, fssh_vnode_id newID);
|
||||
extern fssh_fs_volume* fssh_volume_for_vnode(fssh_fs_vnode *vnode);
|
||||
extern fssh_status_t fssh_check_access_permissions(int accessMode,
|
||||
fssh_mode_t mode, fssh_gid_t nodeGroupID,
|
||||
|
||||
Reference in New Issue
Block a user