[CIFS] Fix oops in cifs_readpages caused by not checking buf_type in an
[sfrench/cifs-2.6.git] / fs / ioprio.c
index 4bf1c6365a19d2ce3d9ae52da457026792528f40..ca77008146c02494018bf84c28b370f0e0a6b39a 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/kernel.h>
 #include <linux/ioprio.h>
 #include <linux/blkdev.h>
+#include <linux/capability.h>
 #include <linux/syscalls.h>
 
 static int set_task_ioprio(struct task_struct *task, int ioprio)