Commit 85711571 authored by Steve French's avatar Steve French

Merge bk://cifs.bkbits.net/linux-2.5cifs

into smfhome.smfsambadom:/suse/home/stevef/bk/linux-2.5cifs
parents c0bebb33 02f24358
......@@ -187,7 +187,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
daemonize("cifsd");
allow_signal(SIGKILL);
current->flags |= PF_MEMALLOC;
server->tsk = current; /* save process info to wake at shutdown */
cFYI(1, ("Demultiplex PID: %d", current->pid));
......@@ -906,6 +906,7 @@ ipv4_connect(struct sockaddr_in *psin_server, struct socket **csocket,
} else {
/* BB other socket options to set KEEPALIVE, NODELAY? */
cFYI(1,("Socket created"));
/* (*csocket)->sk->allocation = GFP_NOFS; */ /* BB is there equivalent in 2.6 */
}
}
......
......@@ -153,7 +153,7 @@ cifs_buf_get(void)
albeit slightly larger than necessary and maxbuffersize
defaults to this and can not be bigger */
ret_buf =
(struct smb_hdr *) kmem_cache_alloc(cifs_req_cachep, SLAB_KERNEL);
(struct smb_hdr *) kmem_cache_alloc(cifs_req_cachep, SLAB_KERNEL | SLAB_NOFS);
/* clear the first few header bytes */
if (ret_buf) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment