[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 <[email protected]>
Signed-off-by: Mark Fasheh <[email protected]>
This commit is contained in:
Joel Becker 2008-07-17 16:54:19 -07:00 • committed by Mark Fasheh
commit dacdd0e047
2 changed files with 2 additions and 1 deletions

View file

@ -1094,7 +1094,7 @@ static int configfs_mkdir(struct inode *dir, struct dentry *dentry, int mode)
kfree(name);
if (ret) {
/*
* If item == NULL, then link_obj() was never called.
* If ret != 0, then link_obj() was never called.
* There are no extra references to clean up.
*/
goto out_put;