summaryrefslogtreecommitdiffstats
path: root/include/linux/configfs.h
diff options
context:
space:
mode:
authorJoel Becker2008-07-18 01:54:19 +0200
committerMark Fasheh2008-08-01 01:21:12 +0200
commitdacdd0e04768da1fd2b24a6ee274c582b40d0c5b (patch)
tree45b559bb14e9f968943bbc98b23b1489823898e0 /include/linux/configfs.h
parentFix off-by-one error in iov_iter_advance() (diff)
downloadkernel-qcow2-linux-dacdd0e04768da1fd2b24a6ee274c582b40d0c5b.tar.gz
kernel-qcow2-linux-dacdd0e04768da1fd2b24a6ee274c582b40d0c5b.tar.xz
kernel-qcow2-linux-dacdd0e04768da1fd2b24a6ee274c582b40d0c5b.zip
[PATCH] configfs: Include linux/err.h in linux/configfs.h
We now use PTR_ERR() in the ->make_item() and ->make_group() operations. Folks including configfs.h need err.h. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'include/linux/configfs.h')
-rw-r--r--include/linux/configfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/configfs.h b/include/linux/configfs.h
index d62c19ff041c..0a5491baf0bc 100644
--- a/include/linux/configfs.h
+++ b/include/linux/configfs.h
@@ -40,6 +40,7 @@
#include <linux/list.h>
#include <linux/kref.h>
#include <linux/mutex.h>
+#include <linux/err.h>
#include <asm/atomic.h>