projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47188d3
)
GFS2: Fix typo in gfs2_create_inode()
author
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 17 Jul 2013 07:11:32 +0000
(08:11 +0100)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 19 Aug 2013 08:32:29 +0000
(09:32 +0100)
PTR_RET should be PTR_ERR
Reported-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/inode.c
b/fs/gfs2/inode.c
index bbb2715171cd0c983770cf86b4b57ed69e04c98d..a01b8fd3a1c16c7b3363d5e6fac5ec54e5390119 100644
(file)
--- a/
fs/gfs2/inode.c
+++ b/
fs/gfs2/inode.c
@@
-594,7
+594,7
@@
static int gfs2_create_inode(struct inode *dir, struct dentry *dentry,
}
gfs2_glock_dq_uninit(ghs);
if (IS_ERR(d))
- return PTR_
RET
(d);
+ return PTR_
ERR
(d);
return error;
} else if (error != -ENOENT) {
goto fail_gunlock;