* Removed write_link from the FS module interface. Adjusted all FS
add-ons accordingly and removed the syscall. * Removed send_notification(). * Reimplemented notify_listener(). It used the unimplemented send_notification(). Now it has a chance to work. Note that notify_listener() is obsolete. I would already have removed it, if there weren't lots of FS implementations still using it (Hint!). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20329 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -115,7 +115,6 @@ typedef struct file_system_module_info {
|
||||
|
||||
status_t (*read_link)(fs_volume fs, fs_vnode link, char *buffer,
|
||||
size_t *_bufferSize);
|
||||
status_t (*write_link)(fs_volume fs, fs_vnode link, char *toPath);
|
||||
status_t (*create_symlink)(fs_volume fs, fs_vnode dir, const char *name,
|
||||
const char *path, int mode);
|
||||
|
||||
@@ -269,11 +268,9 @@ extern status_t unremove_vnode(mount_id mountID, vnode_id vnodeID);
|
||||
extern status_t get_vnode_removed(mount_id mountID, vnode_id vnodeID,
|
||||
bool* removed);
|
||||
|
||||
// Deprecated! Will disappear soon!
|
||||
extern status_t notify_listener(int op, mount_id device, vnode_id parentNode,
|
||||
vnode_id toParentNode, vnode_id node, const char *name);
|
||||
extern status_t send_notification(port_id port, long token, ulong what, long op,
|
||||
mount_id device, mount_id toDevice, vnode_id parentNode,
|
||||
vnode_id toParentNode, vnode_id node, const char *name);
|
||||
|
||||
extern status_t notify_entry_created(mount_id device, vnode_id directory,
|
||||
const char *name, vnode_id node);
|
||||
|
||||
@@ -149,7 +149,6 @@ extern status_t _kern_create_dir(int fd, const char *path, int perms);
|
||||
extern status_t _kern_remove_dir(int fd, const char *path);
|
||||
extern status_t _kern_read_link(int fd, const char *path, char *buffer,
|
||||
size_t *_bufferSize);
|
||||
extern status_t _kern_write_link(const char *path, const char *toPath);
|
||||
extern status_t _kern_create_symlink(int fd, const char *path,
|
||||
const char *toPath, int mode);
|
||||
extern status_t _kern_create_link(const char *path, const char *toPath);
|
||||
|
||||
Reference in New Issue
Block a user