projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
putname(): IS_ERR_OR_NULL() is wrong here
[linux-2.6-microblaze.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index
bbb5c9b
..
1946d96
100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-255,7
+255,7
@@
getname_kernel(const char * filename)
void putname(struct filename *name)
{
- if (IS_ERR
_OR_NULL
(name))
+ if (IS_ERR(name))
return;
BUG_ON(name->refcnt <= 0);