Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 12042
b: refs/heads/master
c: 16abbec
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Aug 30, 2005
1 parent f91cbb6 commit 85c9f4a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2016ef789a9ded2e169ad1c028ae3deb5302571f
refs/heads/master: 16abbecdad3367c76c12537450eba0d86943fe2c
3 changes: 2 additions & 1 deletion trunk/fs/cifs/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ Version 1.36
------------
Add support for mounting to older pre-CIFS servers such as Windows9x and ME.
For these older servers, add option for passing netbios name of server in
on mount (servernetbiosname).
on mount (servernetbiosname). Add suspend support for power management, to
avoid cifsd thread preventing software suspend from working.
Add mount option for disabling the default behavior of sending byte range lock
requests to the server (necessary for certain applications which break with
mandatory lock behavior such as Evolution), and also mount option for
Expand Down
4 changes: 4 additions & 0 deletions trunk/fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,8 @@ static int cifs_oplock_thread(void * dummyarg)

oplockThread = current;
do {
if(try_to_freeze())
continue;
set_current_state(TASK_INTERRUPTIBLE);

schedule_timeout(1*HZ);
Expand Down Expand Up @@ -848,6 +850,8 @@ static int cifs_dnotify_thread(void * dummyarg)

dnotifyThread = current;
do {
if(try_to_freeze())
continue;
set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(39*HZ);
} while(!signal_pending(current));
Expand Down
2 changes: 2 additions & 0 deletions trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
}

while (server->tcpStatus != CifsExiting) {
if(try_to_freeze())
continue;
if (bigbuf == NULL) {
bigbuf = cifs_buf_get();
if(bigbuf == NULL) {
Expand Down

0 comments on commit 85c9f4a

Please sign in to comment.