[patch 35/35] fs: icache document more lock orders
From: npiggin
Date: Mon Oct 18 2010 - 23:58:48 EST
Add some more documentation of (existing) lock orders
Signed-off-by: Nick Piggin <npiggin@xxxxxxxxx>
---
fs/inode.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6/fs/inode.c
===================================================================
--- linux-2.6.orig/fs/inode.c 2010-10-19 14:19:00.000000000 +1100
+++ linux-2.6/fs/inode.c 2010-10-19 14:19:00.000000000 +1100
@@ -51,7 +51,9 @@
* inode_list_lglock
* zone->inode_lru_lock
* wb->b_lock
+ * sb_lock (pin_sb_for_writeback)
* inode_hash_bucket lock
+ * dentry->d_lock (alias management)
*/
/*
* This is needed for the following functions:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/