Evgeniy Dushistov
09114eb8c5
[PATCH] ufs: fix hang during `rm'
...
This fixes the code like this:
bh = sb_find_get_block (sb, tmp + j);
if ((bh && DATA_BUFFER_USED(bh)) || tmp != fs32_to_cpu(sb, *p)) {
retry = 1;
brelse (bh);
goto next1;
}
bforget (bh);
sb_find_get_block() ordinarily returns a buffer_head with b_count>=2, and
this code assume that in case if "b_count>1" buffer is used, so this caused
infinite loop.
(akpm: that is-the-buffer-busy code is incomprehensible. Good riddance. Use
of block_truncate_page() seems sane).
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru >
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2006-02-03 08:32:04 -08:00
..
2006-02-01 12:52:23 -05:00
2006-01-20 11:57:07 -08:00
2006-01-12 14:06:43 -08:00
2006-01-12 14:06:43 -08:00
2006-01-17 02:39:19 -08:00
2006-01-18 19:20:24 -08:00
2006-01-13 16:29:56 -08:00
2006-02-01 12:52:25 -05:00
2006-01-16 20:53:46 -08:00
2006-01-13 09:12:21 -08:00
2006-02-03 08:32:00 -08:00
2006-01-24 10:06:19 +01:00
2006-01-10 20:35:03 -05:00
2006-01-11 18:42:13 -08:00
2006-01-14 18:27:15 -08:00
2006-01-14 18:27:16 -08:00
2006-01-10 08:32:35 -08:00
2006-01-18 13:53:45 -08:00
2006-01-14 18:27:10 -08:00
2006-02-01 08:53:11 -08:00
2006-01-13 11:26:04 -08:00
2006-01-11 19:04:51 -08:00
2006-01-14 18:27:15 -08:00
2006-01-18 19:20:29 -08:00
2006-02-01 08:53:17 -08:00
2006-01-12 16:31:52 -05:00
2006-02-01 08:53:09 -08:00
2006-01-11 19:04:51 -08:00
2006-01-14 18:27:09 -08:00
2006-02-01 08:53:13 -08:00
2006-01-15 09:02:44 -02:00
2006-01-13 11:26:10 -08:00
2006-01-18 00:45:15 +01:00
2006-01-16 23:18:35 -08:00
2006-02-01 08:53:13 -08:00
2006-01-14 18:25:20 -08:00
2006-01-10 08:02:01 -08:00
2006-01-10 08:01:59 -08:00
2006-01-24 17:52:48 -05:00
2006-01-16 23:15:27 -08:00
2006-01-11 18:42:12 -08:00
2006-02-01 08:53:13 -08:00
2006-01-17 19:37:45 -05:00
2006-02-03 08:32:02 -08:00
2006-01-18 19:20:18 -08:00
2006-01-18 19:20:17 -08:00
2006-01-14 18:27:15 -08:00
2006-02-01 08:53:15 -08:00
2006-01-11 08:14:16 -08:00
2006-01-11 08:14:16 -08:00
2006-01-18 19:20:29 -08:00
2006-01-14 18:27:12 -08:00
2006-01-10 12:54:29 -08:00
2006-01-31 18:00:11 -08:00
2006-01-31 18:00:11 -08:00
2006-01-15 02:12:54 +01:00
2006-01-12 16:31:52 -05:00
2006-01-18 19:20:30 -08:00
2006-02-01 08:53:13 -08:00
2006-01-13 21:02:13 +11:00
2006-01-12 11:35:15 -06:00
2006-01-10 08:42:50 -08:00
2006-02-01 08:53:25 -08:00
2006-02-01 08:53:25 -08:00
2006-02-01 08:53:25 -08:00
2006-01-10 08:01:53 -08:00
2006-02-01 08:53:16 -08:00
2006-01-18 19:20:29 -08:00
2006-01-10 08:01:42 -08:00
2006-02-01 08:53:11 -08:00
2006-01-21 23:03:28 +00:00
2006-01-21 23:03:28 +00:00
2006-01-14 18:27:07 -08:00
2006-01-17 02:54:21 -08:00
2006-02-01 08:53:18 -08:00
2006-01-14 18:27:13 -08:00
2006-01-12 14:06:31 -08:00
2006-02-03 08:32:00 -08:00
2006-02-01 08:53:17 -08:00
2006-02-01 22:04:33 -08:00
2006-02-01 08:53:16 -08:00
2006-01-31 19:30:25 -08:00
2006-01-10 08:01:38 -08:00
2006-01-18 00:45:15 +01:00
2006-01-12 14:06:38 -08:00
2006-01-18 19:20:17 -08:00
2006-01-10 08:01:59 -08:00
2006-01-10 08:01:59 -08:00
2006-01-10 08:01:59 -08:00
2006-02-01 08:53:13 -08:00
2006-02-03 08:32:04 -08:00
2006-02-03 08:32:04 -08:00
2006-01-31 17:23:44 -08:00
2006-01-31 17:23:39 -08:00
2006-01-10 08:01:57 -08:00