aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-12-07 19:29:39 +1100
committerJens Axboe <jens.axboe@oracle.com>2009-12-07 09:47:07 +0100
commitaccee7854b378a8ab5995d8f5dc5d8abc3b3d23a (patch)
tree431c8bc6fbe4afca06eb1ac16c06f1ce388d7a5c
parentcfq-iosched: use call_rcu() instead of doing grace period stall on queue exit (diff)
downloadlinux-dev-accee7854b378a8ab5995d8f5dc5d8abc3b3d23a.tar.xz
linux-dev-accee7854b378a8ab5995d8f5dc5d8abc3b3d23a.zip
block: include linux/err.h to use ERR_PTR
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--block/blk-cgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 3ad497f4eed6..1fa2654db0a6 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -14,6 +14,7 @@
#include <linux/seq_file.h>
#include <linux/kdev_t.h>
#include <linux/module.h>
+#include <linux/err.h>
#include "blk-cgroup.h"
static DEFINE_SPINLOCK(blkio_list_lock);