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)
commit5144ebf408ed08380917126493450ee22e63fe3f
tree29585aa19f99fda7a47efbda4f418765e6db3b9f
parent2d6d589d8009b37ae03244059c93e0e8cf46910e
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