Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
85711571
Commit
85711571
authored
Apr 26, 2004
by
Steve French
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://cifs.bkbits.net/linux-2.5cifs
into smfhome.smfsambadom:/suse/home/stevef/bk/linux-2.5cifs
parents
c0bebb33
02f24358
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
fs/cifs/connect.c
fs/cifs/connect.c
+2
-1
fs/cifs/misc.c
fs/cifs/misc.c
+1
-1
No files found.
fs/cifs/connect.c
View file @
85711571
...
@@ -187,7 +187,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
...
@@ -187,7 +187,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
daemonize
(
"cifsd"
);
daemonize
(
"cifsd"
);
allow_signal
(
SIGKILL
);
allow_signal
(
SIGKILL
);
current
->
flags
|=
PF_MEMALLOC
;
server
->
tsk
=
current
;
/* save process info to wake at shutdown */
server
->
tsk
=
current
;
/* save process info to wake at shutdown */
cFYI
(
1
,
(
"Demultiplex PID: %d"
,
current
->
pid
));
cFYI
(
1
,
(
"Demultiplex PID: %d"
,
current
->
pid
));
...
@@ -906,6 +906,7 @@ ipv4_connect(struct sockaddr_in *psin_server, struct socket **csocket,
...
@@ -906,6 +906,7 @@ ipv4_connect(struct sockaddr_in *psin_server, struct socket **csocket,
}
else
{
}
else
{
/* BB other socket options to set KEEPALIVE, NODELAY? */
/* BB other socket options to set KEEPALIVE, NODELAY? */
cFYI
(
1
,(
"Socket created"
));
cFYI
(
1
,(
"Socket created"
));
/* (*csocket)->sk->allocation = GFP_NOFS; */
/* BB is there equivalent in 2.6 */
}
}
}
}
...
...
fs/cifs/misc.c
View file @
85711571
...
@@ -153,7 +153,7 @@ cifs_buf_get(void)
...
@@ -153,7 +153,7 @@ cifs_buf_get(void)
albeit slightly larger than necessary and maxbuffersize
albeit slightly larger than necessary and maxbuffersize
defaults to this and can not be bigger */
defaults to this and can not be bigger */
ret_buf
=
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 */
/* clear the first few header bytes */
if
(
ret_buf
)
{
if
(
ret_buf
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment