Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=da8a41d19233c2bdcc59447aedc808fcdaabf5b7
Commit: da8a41d19233c2bdcc59447aedc808fcdaabf5b7
Parent: 09aaa749f637b19c308464c2b65a001e67c2a16c
Author: Dave Kleikamp <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 13 22:25:41 2007 -0600
Committer: Dave Kleikamp <[EMAIL PROTECTED]>
CommitDate: Thu Jan 3 13:12:16 2008 -0600
JFS: FIx one more plain integer as NULL pointer warning
Signed-off-by: Dave Kleikamp <[EMAIL PROTECTED]>
---
fs/jfs/namei.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index d6e5eba..f8718de 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -1104,7 +1104,7 @@ static int jfs_rename(struct inode *old_dir, struct
dentry *old_dentry,
*/
rc = dtSearch(new_dir, &new_dname, &ino, &btstack, JFS_LOOKUP);
if (!rc) {
- if ((new_ip == 0) || (ino != new_ip->i_ino)) {
+ if ((!new_ip) || (ino != new_ip->i_ino)) {
rc = -ESTALE;
goto out3;
}
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html