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:
b8a3c60
)
mqueue doesn't need make_bad_inode()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 28 May 2010 23:06:15 +0000
(19:06 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 4 Jun 2010 21:16:27 +0000
(17:16 -0400)
It never hashes them anyway and does final iput() immediately
afterwards. With ->drop_inode() being generic_delete_inode()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
ipc/mqueue.c
patch
|
blob
|
history
diff --git
a/ipc/mqueue.c
b/ipc/mqueue.c
index 5108232f93d48ec008f0418737238c50e810ba15..c93fd3faac2d288e7d87db2642df7b167e15ddc0 100644
(file)
--- a/
ipc/mqueue.c
+++ b/
ipc/mqueue.c
@@
-176,7
+176,6
@@
static struct inode *mqueue_get_inode(struct super_block *sb,
}
return inode;
out_inode:
- make_bad_inode(inode);
iput(inode);
return NULL;
}