diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-13 05:47:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:46 -0500 |
commit | 1c59d825afc3cdfe2ea42821123ece934ad7b5e0 (patch) | |
tree | 43eeda9448035f46ebbd8fcbb881a876d7fcba81 /source4/ntvfs/posix/pvfs_setfileinfo.c | |
parent | 1158268287f07310e79e9d470971dc021a334f9e (diff) | |
download | samba-1c59d825afc3cdfe2ea42821123ece934ad7b5e0.tar.gz samba-1c59d825afc3cdfe2ea42821123ece934ad7b5e0.tar.bz2 samba-1c59d825afc3cdfe2ea42821123ece934ad7b5e0.zip |
r3717: - expanded the RAW-RENAME test a little
- added support for wildcard rename in pvfs
- made more consistent use of pvfs_map_errno()
(This used to be commit e255d1c3a811c480a850452aaf636d9fa36f69fe)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_setfileinfo.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_setfileinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c index 391a2e9d82..e54c37741c 100644 --- a/source4/ntvfs/posix/pvfs_setfileinfo.c +++ b/source4/ntvfs/posix/pvfs_setfileinfo.c @@ -96,7 +96,7 @@ static NTSTATUS pvfs_setfileinfo_rename(struct pvfs_state *pvfs, } if (rename(name->full_name, name2->full_name) == -1) { - return map_nt_error_from_unix(errno); + return pvfs_map_errno(pvfs, errno); } name->full_name = talloc_steal(name, name2->full_name); |