aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_db.h
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2010-04-26 16:40:55 -0700
committerPeter Seebach <peter.seebach@windriver.com>2010-04-26 17:13:45 -0700
commitfbaffe9e22c6eac916f2323b5c2940f76862f9cb (patch)
tree95edeb9f97f5e17fca8081864523aa3b31dd78d0 /pseudo_db.h
parent69de8f0dfdd47fb70487f0d8213e5659e9b7e2c6 (diff)
downloadpseudo-fbaffe9e22c6eac916f2323b5c2940f76862f9cb.tar.gz
pseudo-fbaffe9e22c6eac916f2323b5c2940f76862f9cb.tar.bz2
pseudo-fbaffe9e22c6eac916f2323b5c2940f76862f9cb.zip
Handle rename(3) across devices.
When you rename across devices, inode can change. Until now, pseudo had no tools for handling a change in inode, but this is clearly a legitimate case.
Diffstat (limited to 'pseudo_db.h')
-rw-r--r--pseudo_db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pseudo_db.h b/pseudo_db.h
index 2760278..f8f5e3c 100644
--- a/pseudo_db.h
+++ b/pseudo_db.h
@@ -42,6 +42,7 @@ extern int pdb_unlink_file(pseudo_msg_t *msg);
extern int pdb_unlink_file_dev(pseudo_msg_t *msg);
extern int pdb_update_file(pseudo_msg_t *msg);
extern int pdb_update_file_path(pseudo_msg_t *msg);
+extern int pdb_update_inode(pseudo_msg_t *msg);
extern int pdb_rename_file(const char *oldpath, pseudo_msg_t *msg);
extern int pdb_find_file_exact(pseudo_msg_t *msg);
extern int pdb_find_file_path(pseudo_msg_t *msg);