* [PATCH 10/15] ext2: Remove duplicate unlikely from IS_ERR
[not found] ` <cover.1291923888.git.joe@perches.com>
@ 2010-12-09 20:04 ` Joe Perches
2010-12-09 20:04 ` [PATCH 11/15] ext3: " Joe Perches
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Joe Perches @ 2010-12-09 20:04 UTC (permalink / raw)
To: Jan Kara; +Cc: Jiri Kosina, linux-ext4, linux-kernel
IS_ERR already uses unlikely, remove unlikely from the call sites.
Signed-off-by: Joe Perches <joe@perches.com>
---
fs/ext2/namei.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ext2/namei.c b/fs/ext2/namei.c
index f8aecd2..2e1d834 100644
--- a/fs/ext2/namei.c
+++ b/fs/ext2/namei.c
@@ -67,7 +67,7 @@ static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, str
inode = NULL;
if (ino) {
inode = ext2_iget(dir->i_sb, ino);
- if (unlikely(IS_ERR(inode))) {
+ if (IS_ERR(inode)) {
if (PTR_ERR(inode) == -ESTALE) {
ext2_error(dir->i_sb, __func__,
"deleted inode referenced: %lu",
--
1.7.3.3.464.gf80b6
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 11/15] ext3: Remove duplicate unlikely from IS_ERR
[not found] ` <cover.1291923888.git.joe@perches.com>
2010-12-09 20:04 ` [PATCH 10/15] ext2: Remove " Joe Perches
@ 2010-12-09 20:04 ` Joe Perches
2010-12-09 20:04 ` [PATCH 12/15] ext4: " Joe Perches
2010-12-09 20:32 ` [trivial PATCH 00/15] remove " Joe Perches
3 siblings, 0 replies; 5+ messages in thread
From: Joe Perches @ 2010-12-09 20:04 UTC (permalink / raw)
To: Jan Kara, Andrew Morton, Andreas Dilger
Cc: Jiri Kosina, linux-ext4, linux-kernel
IS_ERR already uses unlikely, remove unlikely from the call sites.
Signed-off-by: Joe Perches <joe@perches.com>
---
fs/ext3/namei.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index bce9dce..268f776 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -1047,7 +1047,7 @@ static struct dentry *ext3_lookup(struct inode * dir, struct dentry *dentry, str
return ERR_PTR(-EIO);
}
inode = ext3_iget(dir->i_sb, ino);
- if (unlikely(IS_ERR(inode))) {
+ if (IS_ERR(inode)) {
if (PTR_ERR(inode) == -ESTALE) {
ext3_error(dir->i_sb, __func__,
"deleted inode referenced: %lu",
--
1.7.3.3.464.gf80b6
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 12/15] ext4: Remove duplicate unlikely from IS_ERR
[not found] ` <cover.1291923888.git.joe@perches.com>
2010-12-09 20:04 ` [PATCH 10/15] ext2: Remove " Joe Perches
2010-12-09 20:04 ` [PATCH 11/15] ext3: " Joe Perches
@ 2010-12-09 20:04 ` Joe Perches
2010-12-09 20:32 ` [trivial PATCH 00/15] remove " Joe Perches
3 siblings, 0 replies; 5+ messages in thread
From: Joe Perches @ 2010-12-09 20:04 UTC (permalink / raw)
To: Theodore Ts'o, Andreas Dilger; +Cc: Jiri Kosina, linux-ext4, linux-kernel
IS_ERR already uses unlikely, remove unlikely from the call sites.
Signed-off-by: Joe Perches <joe@perches.com>
---
fs/ext4/namei.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 92203b8..cec88ce 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -1036,7 +1036,7 @@ static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, stru
return ERR_PTR(-EIO);
}
inode = ext4_iget(dir->i_sb, ino);
- if (unlikely(IS_ERR(inode))) {
+ if (IS_ERR(inode)) {
if (PTR_ERR(inode) == -ESTALE) {
EXT4_ERROR_INODE(dir,
"deleted inode referenced: %u",
--
1.7.3.3.464.gf80b6
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [trivial PATCH 00/15] remove duplicate unlikely from IS_ERR
[not found] ` <cover.1291923888.git.joe@perches.com>
` (2 preceding siblings ...)
2010-12-09 20:04 ` [PATCH 12/15] ext4: " Joe Perches
@ 2010-12-09 20:32 ` Joe Perches
3 siblings, 0 replies; 5+ messages in thread
From: Joe Perches @ 2010-12-09 20:32 UTC (permalink / raw)
To: netdev, Tobias Klauser
Cc: uclinux-dist-devel, rtc-linux, linux-s390, osd-dev, linux-arm-msm,
linux-usb, linux-ext4, linux-nfs, linux-mm, Jiri Kosina,
dri-devel, linux-kernel, linux-scsi, linux-wireless, devel
On Thu, 2010-12-09 at 12:03 -0800, Joe Perches wrote:
> Tobias Klauser <tklauser@distanz.ch> sent a patch to remove
> an unnecessary unlikely from drivers/misc/c2port/core.c,
> https://lkml.org/lkml/2010/12/9/199
It seems that Tobias did send all the appropriate patches,
not as a series, but as individual patches to kernel-janitor.
c2port was the only one that went to lkml.
Please ignore this series and apply Tobias' patches.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 5+ messages in thread