summaryrefslogtreecommitdiffstats
path: root/source/smbd/filename.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-29 09:30:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:52 -0500
commit9b10dbbd5de8813fc15ebbb6be9b18010ffe8139 (patch)
tree03d6399f963119ad07d2cbdbaf39698ff6a432b8 /source/smbd/filename.c
parent0153386c1a3625b2f699863991893f399c40af48 (diff)
downloadsamba-9b10dbbd5de8813fc15ebbb6be9b18010ffe8139.tar.gz
samba-9b10dbbd5de8813fc15ebbb6be9b18010ffe8139.tar.xz
samba-9b10dbbd5de8813fc15ebbb6be9b18010ffe8139.zip
r23183: Check in a change made by Tridge:
This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker
Diffstat (limited to 'source/smbd/filename.c')
-rw-r--r--source/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/filename.c b/source/smbd/filename.c
index eb86a0efd16..c26eba2ded2 100644
--- a/source/smbd/filename.c
+++ b/source/smbd/filename.c
@@ -463,7 +463,7 @@ NTSTATUS unix_convert(connection_struct *conn,
} /* end else */
#ifdef DEVELOPER
- if (VALID_STAT(st) && get_delete_on_close_flag(st.st_dev, st.st_ino)) {
+ if (VALID_STAT(st) && get_delete_on_close_flag(file_id_sbuf(&st))) {
return NT_STATUS_DELETE_PENDING;
}
#endif