git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4-pvfs: use pvfs_sys_*() functions to wrap posix calls
[ira/wip.git]
/
source4
/
ntvfs
/
posix
/
pvfs_unlink.c
diff --git
a/source4/ntvfs/posix/pvfs_unlink.c
b/source4/ntvfs/posix/pvfs_unlink.c
index 67e7d76b47f6fbd116dccd84f6523b4fdce68c87..be2ba531488c8eaccc7251941dbcefbc3a9a263b 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_unlink.c
+++ b/
source4/ntvfs/posix/pvfs_unlink.c
@@
-123,7
+123,7
@@
static NTSTATUS pvfs_unlink_file(struct pvfs_state *pvfs,
}
/* finally try the actual unlink */
- if (
unlink(
name->full_name) == -1) {
+ if (
pvfs_sys_unlink(pvfs,
name->full_name) == -1) {
status = pvfs_map_errno(pvfs, errno);
}