projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd63397
)
GFS2: Replace PTR_RET with PTR_ERR_OR_ZERO
author
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 17 Jul 2013 07:41:52 +0000
(08:41 +0100)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 22 Jul 2013 01:41:46 +0000
(11:11 +0930)
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>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
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;