summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common/opendb.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-28 09:06:49 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-29 15:17:52 +0100
commit98dafd5eb1948bbe8a0d78814ab1cd1910477733 (patch)
tree81fab1ba23fd7073275778ef1095332d89dc8668 /source4/ntvfs/common/opendb.c
parent48270181bac1a640d085ce5f5a58329d69c7a1ac (diff)
downloadsamba-98dafd5eb1948bbe8a0d78814ab1cd1910477733.tar.gz
samba-98dafd5eb1948bbe8a0d78814ab1cd1910477733.tar.bz2
samba-98dafd5eb1948bbe8a0d78814ab1cd1910477733.zip
opendb: add odb_get_path()
metze (This used to be commit 02071f151a22257d31f8a8b254625e2067e7b94d)
Diffstat (limited to 'source4/ntvfs/common/opendb.c')
-rw-r--r--source4/ntvfs/common/opendb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c
index d8cb67686b..6c1a9c070a 100644
--- a/source4/ntvfs/common/opendb.c
+++ b/source4/ntvfs/common/opendb.c
@@ -143,6 +143,14 @@ _PUBLIC_ NTSTATUS odb_rename(struct odb_lock *lck, const char *path)
}
/*
+ get back the path of an open file
+*/
+_PUBLIC_ NTSTATUS odb_get_path(struct odb_lock *lck, const char **path)
+{
+ return ops->odb_get_path(lck, path);
+}
+
+/*
update delete on close flag on an open file
*/
_PUBLIC_ NTSTATUS odb_set_delete_on_close(struct odb_lock *lck, bool del_on_close)