projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09aaa74
)
JFS: FIx one more plain integer as NULL pointer warning
author
Dave Kleikamp
<shaggy@linux.vnet.ibm.com>
Wed, 14 Nov 2007 04:25:41 +0000
(22:25 -0600)
committer
Dave Kleikamp
<shaggy@linux.vnet.ibm.com>
Thu, 3 Jan 2008 19:12:16 +0000
(13:12 -0600)
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
fs/jfs/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jfs/namei.c
b/fs/jfs/namei.c
index d6e5ebad739a3cbf8723853631e16dcea978d88b..f8718de3505e9fc56805b5a338fbb244c59e3488 100644
(file)
--- 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;
}