r26672: Janitorial: Remove uses of global_loadparm.
[jelmer/samba4-debian.git] / source / smb_server / smb2 / fileio.c
index e853743b2f6612f349ae916b63b6fa90a3092b45..0e83c786152103becaa22f85fe1625e159fdd387 100644 (file)
@@ -353,7 +353,7 @@ static void smb2srv_notify_send(struct ntvfs_request *ntvfs)
                ssize_t len;
 
                SIVAL(p, 4, io->smb2.out.changes[i].action);
-               len = push_string(lp_iconv_convenience(global_loadparm), p + 12, io->smb2.out.changes[i].name.s, 
+               len = push_string(lp_iconv_convenience(ntvfs->ctx->lp_ctx), p + 12, io->smb2.out.changes[i].name.s, 
                                  blob.length - (p+12 - blob.data), STR_UNICODE);
                SIVAL(p, 8, len);