summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-28 12:17:59 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-29 15:17:53 +0100
commitdaa4dec695b53e0c7ea442b6ca0b012f128ed759 (patch)
treee3f80178ac37f766b55767f0c63db0cccf38685d /source4/ntvfs
parentf9b2d29d32197095c993d57e00ffbc09ab27184c (diff)
downloadsamba-daa4dec695b53e0c7ea442b6ca0b012f128ed759.tar.gz
samba-daa4dec695b53e0c7ea442b6ca0b012f128ed759.tar.bz2
samba-daa4dec695b53e0c7ea442b6ca0b012f128ed759.zip
pvfs: use pvfs_resolve_name_handle() in qfileinfo and setfileinfo
metze (This used to be commit 4b1a266f6fb04c8f923c48ea215ece6b45a18ea7)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/posix/pvfs_qfileinfo.c2
-rw-r--r--source4/ntvfs/posix/pvfs_setfileinfo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_qfileinfo.c b/source4/ntvfs/posix/pvfs_qfileinfo.c
index 6ed729541f..6bc21e5e3e 100644
--- a/source4/ntvfs/posix/pvfs_qfileinfo.c
+++ b/source4/ntvfs/posix/pvfs_qfileinfo.c
@@ -368,7 +368,7 @@ NTSTATUS pvfs_qfileinfo(struct ntvfs_module_context *ntvfs,
}
/* update the file information */
- status = pvfs_resolve_name_fd(pvfs, h->fd, h->name);
+ status = pvfs_resolve_name_handle(pvfs, h);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c
index da1e31e639..fcadbfd852 100644
--- a/source4/ntvfs/posix/pvfs_setfileinfo.c
+++ b/source4/ntvfs/posix/pvfs_setfileinfo.c
@@ -289,7 +289,7 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs,
}
/* update the file information */
- status = pvfs_resolve_name_fd(pvfs, h->fd, h->name);
+ status = pvfs_resolve_name_handle(pvfs, h);
if (!NT_STATUS_IS_OK(status)) {
return status;
}