From: aLeJ <fuzzy.alej@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] fs/smbfs/proc.c -> replace direct assignment with
Date: Thu, 30 Jun 2005 08:28:42 +0000 [thread overview]
Message-ID: <1120126573.24539.6.camel@localhost> (raw)
Description:
Use set_current_state() instead of using a direct assignment
Signed-off-by: Alejandro Andrés <fuzzy.alej@gmail.com>
--- fs/smbfs/proc.c.orig 2005-06-22 21:33:05.000000000 +0200
+++ fs/smbfs/proc.c 2005-06-30 12:02:45.000000000 +0200
@@ -2397,7 +2397,7 @@ smb_proc_readdir_long(struct file *filp,
if (req->rq_rcls = ERRSRV && req->rq_err = ERRerror) {
/* a damn Win95 bug - sometimes it clags if you
ask it too fast */
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(HZ/5);
continue;
}
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
next reply other threads:[~2005-06-30 8:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-30 8:28 aLeJ [this message]
2005-06-30 8:28 ` [KJ] fs/smbfs/proc.c -> replace direct assignment with aLeJ
2005-06-30 16:12 ` Ricardo Nabinger Sanchez
2005-06-30 17:53 ` aLeJ
2005-06-30 18:39 ` Nishanth Aravamudan
2005-06-30 20:03 ` aLeJ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1120126573.24539.6.camel@localhost \
--to=fuzzy.alej@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.