[linux-cifs-client] [PATCH 3/3] [CIFS] remove unneeded half-second sleep from cifs_umount

Jeff Layton jlayton at redhat.com
Thu Apr 17 20:59:06 GMT 2008


I can't see any reason for this sleep, and it slows down umounts.

Signed-off-by: Jeff Layton <jlayton at redhat.com>
---
 fs/cifs/connect.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index ae46bc4..38b6022 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -3562,8 +3562,6 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb)
 	cifs_sb->prepath = NULL;
 	kfree(tmp);
 	if (ses)
-		schedule_timeout_interruptible(msecs_to_jiffies(500));
-	if (ses)
 		sesInfoFree(ses);
 
 	FreeXid(xid);
-- 
1.5.3.6



More information about the linux-cifs-client mailing list