r15734: This is a major change to the NTVFS subsystem:
[kai/samba-autobuild/.git] / source4 / ntvfs / posix / pvfs_setfileinfo.c
index e85f52fc2c217764682fe54a937888e75915cc04..2665b9e5f59b31e877710177276676eef50d08e3 100644 (file)
@@ -262,7 +262,7 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs,
        uint32_t access_needed;
        uint32_t change_mask = 0;
 
-       f = pvfs_find_fd(pvfs, req, info->generic.in.file.fnum);
+       f = pvfs_find_fd(pvfs, req, info->generic.in.file.ntvfs);
        if (!f) {
                return NT_STATUS_INVALID_HANDLE;
        }