[Samba] Re: [-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
Stephen C. Tweedie
sct at redhat.com
Mon Aug 15 18:37:14 GMT 2005
Hi,
On Mon, 2005-08-15 at 19:08, Nishanth Aravamudan wrote:
> Description: Use schedule_timeout_{,un}interruptible() instead of
> set_current_state()/schedule_timeout() to reduce kernel size.
> +++ 2.6.13-rc5-mm1-dev/fs/jbd/transaction.c 2005-08-10 15:03:33.000000000 -0700
> @@ -1340,8 +1340,7 @@ int journal_stop(handle_t *handle)
> - set_current_state(TASK_UNINTERRUPTIBLE);
> - schedule_timeout(1);
> + schedule_timeout_uninterruptible(1);
This chunk at least is fine.
--Stephen
More information about the samba
mailing list