diff options
Diffstat (limited to 'fs/hppfs')
| -rw-r--r-- | fs/hppfs/hppfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index c1dffe47fde2..78f21f8dc2ec 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | #include <linux/pid_namespace.h> | 18 | #include <linux/pid_namespace.h> |
| 19 | #include <linux/namei.h> | 19 | #include <linux/namei.h> |
| 20 | #include <asm/uaccess.h> | 20 | #include <asm/uaccess.h> |
| 21 | #include "os.h" | 21 | #include <os.h> |
| 22 | 22 | ||
| 23 | static struct inode *get_inode(struct super_block *, struct dentry *); | 23 | static struct inode *get_inode(struct super_block *, struct dentry *); |
| 24 | 24 | ||
| @@ -674,7 +674,7 @@ static struct inode *get_inode(struct super_block *sb, struct dentry *dentry) | |||
| 674 | 674 | ||
| 675 | if (!inode) { | 675 | if (!inode) { |
| 676 | dput(dentry); | 676 | dput(dentry); |
| 677 | return ERR_PTR(-ENOMEM); | 677 | return NULL; |
| 678 | } | 678 | } |
| 679 | 679 | ||
| 680 | if (S_ISDIR(dentry->d_inode->i_mode)) { | 680 | if (S_ISDIR(dentry->d_inode->i_mode)) { |
