Sudip Mukherjee ff7d080e52 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>
2016-01-21 17:20:51 -08:00
..
2016-01-20 17:09:18 -08:00
2015-11-13 21:53:18 -08:00
2015-11-10 12:07:22 -08:00
2016-01-15 17:56:32 -08:00
2016-01-20 17:09:18 -08:00
2016-01-04 10:28:40 -05:00
2016-01-15 17:56:32 -08:00
2016-01-04 10:28:40 -05:00