diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2020-06-09 14:33:11 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2020-06-30 13:04:45 +0200 |
commit | 5902f4dd6e666c4d160b2f5c4505f7e58642d2bf (patch) | |
tree | 5ec4fcdc9b500802ddb6916b3ebab9acc1fbcf22 /fs/gfs2/log.c | |
parent | 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68 (diff) | |
download | linux-5902f4dd6e666c4d160b2f5c4505f7e58642d2bf.tar.gz linux-5902f4dd6e666c4d160b2f5c4505f7e58642d2bf.tar.bz2 linux-5902f4dd6e666c4d160b2f5c4505f7e58642d2bf.zip |
gfs2: Don't return NULL from gfs2_inode_lookup
Callers expect gfs2_inode_lookup to return an inode pointer or ERR_PTR(error).
Commit b66648ad6dcf caused it to return NULL instead of ERR_PTR(-ESTALE) in
some cases. Fix that.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: b66648ad6dcf ("gfs2: Move inode generation number check into gfs2_inode_lookup")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
0 files changed, 0 insertions, 0 deletions