]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: remove dnotify thread code
authorJeff Layton <jlayton@redhat.com>
Mon, 23 Mar 2009 05:47:12 +0000 (01:47 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 17 Apr 2009 01:26:49 +0000 (01:26 +0000)
commit4ea86b6f66ff48c51c431bfbae4ae0675d785c21
tree29585aa19f99fda7a47efbda4f418765e6db3b9f
parent1af08dde73435cdcc54934dabdcccca125139068
cifs: remove dnotify thread code

cifs: remove dnotify thread code

Al Viro recently removed the dir_notify code from the kernel along with
the CIFS code that used it. We can also get rid of the dnotify thread
as well.

In actuality, it never had anything to do with dir_notify anyway. All
it did was unnecessarily wake up all the tasks waiting on the response
queues every 15s. Previously that happened to prevent tasks from hanging
indefinitely when the server went unresponsive, but we put those to
sleep with proper timeouts now so there's no reason to keep this around.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c