mm/backing-dev.c: remove recently-added WARN_ON()
authorAndrew Morton <[email protected]>
Tue, 9 Dec 2008 21:14:06 +0000 (13:14 -0800)
committerLinus Torvalds <[email protected]>
Wed, 10 Dec 2008 16:01:52 +0000 (08:01 -0800)
On second thoughts, this is just going to disturb people while telling us
things which we already knew.

Cc: Peter Korsgaard <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Kay Sievers <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/backing-dev.c

index 2a56124dbc28effcbda0a48c2268d1b7f763ee91..801c08b046e6cc0f1a12740dc74fed16ff018fe6 100644 (file)
@@ -176,7 +176,7 @@ int bdi_register(struct backing_dev_info *bdi, struct device *parent,
        int ret = 0;
        struct device *dev;
 
-       if (WARN_ON(bdi->dev))
+       if (bdi->dev)   /* The driver needs to use separate queues per device */
                goto exit;
 
        va_start(args, fmt);