diff options
-rw-r--r-- | fs/configfs/dir.c | 2 | ||||
-rw-r--r-- | include/linux/configfs.h | 1 |
2 files changed, 2 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; |
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 @@ | |||
40 | #include <linux/list.h> | 40 | #include <linux/list.h> |
41 | #include <linux/kref.h> | 41 | #include <linux/kref.h> |
42 | #include <linux/mutex.h> | 42 | #include <linux/mutex.h> |
43 | #include <linux/err.h> | ||
43 | 44 | ||
44 | #include <asm/atomic.h> | 45 | #include <asm/atomic.h> |
45 | 46 | ||