diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-12-09 10:57:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-09 07:32:24 (GMT) |
commit | 6195cd1a9628281a10a7132ae0f664a496b2b33c (patch) | |
tree | 7fb57a73a64952d004f8748be03ad4b443ecd6b9 /drivers/infiniband/sw/rdmavt | |
parent | afd2a1994ea4e37fb602410b350827d5909714fe (diff) | |
download | linux-6195cd1a9628281a10a7132ae0f664a496b2b33c.tar.xz |
bad_inode: add missing i_op initializers
commit 3f9ca75516a7e581ff803f751a869c1da5ae5fa5 upstream.
New inode operations were forgotten to be added to bad_inode. Most of the
time the op is checked for NULL before being called but marking the inode
bad and the check can race (very unlikely).
However in case of ->get_link() only DCACHE_SYMLINK_TYPE is checked before
calling the op, so there's no race and will definitely oops when trying to
follow links on such a beast.
Also remove comments about extinct ops.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband/sw/rdmavt')
0 files changed, 0 insertions, 0 deletions