diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-07-17 19:54:19 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-07-31 19:21:12 -0400 |
commit | dacdd0e04768da1fd2b24a6ee274c582b40d0c5b (patch) | |
tree | 45b559bb14e9f968943bbc98b23b1489823898e0 /fs/configfs/dir.c | |
parent | 94ad374a0751f40d25e22e036c37f7263569d24c (diff) |
[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 'fs/configfs/dir.c')
-rw-r--r-- | fs/configfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c index 179589be063a..2495f23e33f4 100644 --- a/fs/configfs/dir.c +++ b/fs/configfs/dir.c | |||
@@ -1094,7 +1094,7 @@ static int configfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) | |||
1094 | kfree(name); | 1094 | kfree(name); |
1095 | if (ret) { | 1095 | if (ret) { |
1096 | /* | 1096 | /* |
1097 | * If item == NULL, then link_obj() was never called. | 1097 | * If ret != 0, then link_obj() was never called. |
1098 | * There are no extra references to clean up. | 1098 | * There are no extra references to clean up. |
1099 | */ | 1099 | */ |
1100 | goto out_put; | 1100 | goto out_put; |