summaryrefslogtreecommitdiff
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-07-03 08:30:12 -0500
committerThomas Gleixner <tglx@linutronix.de>2009-07-29 23:30:39 +0200
commite97977e5171636cba43ae9d30f00cb82e175511b (patch)
tree57f09db0706735e50d79f7610f6b6c334fe34053 /fs/dcache.c
parent6772ca45ec38d1bb90b6071a3df1d8b0a7ab1f27 (diff)
downloadlwn-e97977e5171636cba43ae9d30f00cb82e175511b.tar.gz
lwn-e97977e5171636cba43ae9d30f00cb82e175511b.zip
fs/block: preempt-rt support
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 9e5cd3c3a6ba..ce004558f23e 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -726,8 +726,9 @@ void shrink_dcache_for_umount(struct super_block *sb)
{
struct dentry *dentry;
- if (down_read_trylock(&sb->s_umount))
- BUG();
+// -rt: this might succeed there ...
+// if (down_read_trylock(&sb->s_umount))
+// BUG();
dentry = sb->s_root;
sb->s_root = NULL;