[lkml]   [2001]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] inode.c cleanup
	Obvious cleanup: superblocks leave the list before they
can get ->s_dev equal to 0 and they do it under sb_lock, so test
in the chunk below is bogus.

Please apply (it goes both for Linus' tree and -ac).

diff -urN S10-pre9/fs/inode.c S10-pre9-inode/fs/inode.c
--- S10-pre9/fs/inode.c Fri Sep 14 12:58:45 2001
+++ S10-pre9-inode/fs/inode.c Fri Sep 14 14:00:38 2001
@@ -405,8 +405,6 @@
sb = sb_entry(;
for (; sb != sb_entry(&super_blocks); sb = sb_entry(sb-> {
- if (!sb->s_dev)
- continue;
if (!try_to_sync_unused_list(&sb->s_dirty))
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.026 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site