projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reiserfs: fix dereference of ERR_PTR
[linux-2.6-block.git]
/
fs
/
reiserfs
/
super.c
diff --git
a/fs/reiserfs/super.c
b/fs/reiserfs/super.c
index 05db7473bcb5c64078dc572d2ef8e455a770dbba..c0306ec8ed7b8f5d4eef97fd1cf4c7653c2b1f20 100644
(file)
--- a/
fs/reiserfs/super.c
+++ b/
fs/reiserfs/super.c
@@
-288,7
+288,7
@@
static int finish_unfinished(struct super_block *s)
pathrelse(&path);
inode = reiserfs_iget(s, &obj_key);
- if (
!inode
) {
+ if (
IS_ERR_OR_NULL(inode)
) {
/*
* the unlink almost completed, it just did not
* manage to remove "save" link and release objectid