diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-01-22 01:40:36 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-22 02:20:51 +0100 |
commit | ff7d080e528d8faf5bc175fd9909889af03e1566 (patch) | |
tree | 19acc35320f42bab238da12f98ce2b603adccff4 /fs/ocfs2/dlmglue.c | |
parent | ratelimit: fix bug in time interval by resetting right begin time (diff) | |
download | linux-ff7d080e528d8faf5bc175fd9909889af03e1566.tar.xz linux-ff7d080e528d8faf5bc175fd9909889af03e1566.zip |
reiserfs: fix dereference of ERR_PTR
reiserfs_iget() returns either NULL or error code in ERR_PTR. And we
were only checking for NULL, so in case of some other error we will try
to dereference the ERR_PTR(-errno) thinking it to be a valid pointer.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/dlmglue.c')
0 files changed, 0 insertions, 0 deletions