From ba8080175ebcf59c2155bd9c9f19dfd21bf3552f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 25 Sep 2002 12:14:57 +0000 Subject: [PATCH] Changed the rename_attr() call to allow moving attributes to other files. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1172 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/kernel/fs_interface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/os/kernel/fs_interface.h b/headers/os/kernel/fs_interface.h index facdecce01..65e3601b9c 100644 --- a/headers/os/kernel/fs_interface.h +++ b/headers/os/kernel/fs_interface.h @@ -70,7 +70,7 @@ struct fs_calls { status_t (*link)(fs_volume fs, fs_vnode dir, const char *name, fs_vnode vnode); status_t (*unlink)(fs_volume fs, fs_vnode dir, const char *name); - status_t (*rename)(fs_volume fs, fs_vnode oldDir, const char *oldName, fs_vnode newDir, const char *newName); + status_t (*rename)(fs_volume fs, fs_vnode fromDir, const char *fromName, fs_vnode toDir, const char *toName); status_t (*access)(fs_volume fs, fs_vnode vnode, int mode); status_t (*read_stat)(fs_volume fs, fs_vnode vnode, struct stat *stat); @@ -112,7 +112,7 @@ struct fs_calls { status_t (*read_attr_stat)(fs_volume fs, fs_vnode file, fs_cookie cookie, struct stat *stat); status_t (*write_attr_stat)(fs_volume fs, fs_vnode file, fs_cookie cookie, const struct stat *stat, int statMask); - status_t (*rename_attr)(fs_volume fs, fs_vnode file, const char *oldName, const char *newName); + status_t (*rename_attr)(fs_volume fs, fs_vnode fromFile, const char *fromName, fs_vnode toFile, const char *toName); status_t (*remove_attr)(fs_volume fs, fs_vnode file, const char *name); /* index directory & index operations */