s3: smbd: Add dirfsp parameter to can_write_to_file().
[amitay/samba.git] / source3 / smbd / dir.c
index 1758bbd98c9bbdd007d77ef1dd9989303eb2af22..d430ff769573a6076b4555f1a59322dda8378704 100644 (file)
@@ -1176,7 +1176,7 @@ static bool user_can_write_file(connection_struct *conn,
                return True;
        }
 
-       return can_write_to_file(conn, smb_fname);
+       return can_write_to_file(conn, dirfsp, smb_fname);
 }
 
 /*******************************************************************