public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kreiserfsd sleep timeout thinko
@ 2002-01-03  7:22 Oleg Drokin
  0 siblings, 0 replies; only message in thread
From: Oleg Drokin @ 2002-01-03  7:22 UTC (permalink / raw)
  To: marcelo, linux-kernel, reiserfs-dev

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

Hello!

    This patch corrects a typo in fs/reiserfs/journal.c:
    interruptible_sleep_on_timeout() takes timeout in jiffies, rather
    than seconds.

Bye,
    Oleg

[-- Attachment #2: L-kreiserfsd-sleep-timeout.patch --]
[-- Type: text/plain, Size: 554 bytes --]

diff -rup -X dontdiff linux/fs/reiserfs/journal.c linux.patched/fs/reiserfs/journal.c
--- linux/fs/reiserfs/journal.c	Mon Nov 19 21:17:03 2001
+++ linux.patched/fs/reiserfs/journal.c	Mon Nov 19 21:36:38 2001
@@ -1851,7 +1851,7 @@ static int reiserfs_journal_commit_threa
       break ;
     }
     wake_up(&reiserfs_commit_thread_done) ;
-    interruptible_sleep_on_timeout(&reiserfs_commit_thread_wait, 5) ;
+    interruptible_sleep_on_timeout(&reiserfs_commit_thread_wait, 5 * HZ) ;
   }
   unlock_kernel() ;
   wake_up(&reiserfs_commit_thread_done) ;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-03  7:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-03  7:22 [PATCH] kreiserfsd sleep timeout thinko Oleg Drokin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox