diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2016-07-26 15:22:35 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-07-28 02:55:35 +0200 |
commit | 281dbe5db81c6137def9757e07a7aea14b1ed86e (patch) | |
tree | a74416bd23d94120cd141a0d225ebbe309473222 /fs/reiserfs/tail_conversion.c | |
parent | libceph: fix some missing includes (diff) | |
download | linux-281dbe5db81c6137def9757e07a7aea14b1ed86e.tar.xz linux-281dbe5db81c6137def9757e07a7aea14b1ed86e.zip |
libceph: add an ONSTACK initializer for oids
An on-stack oid in ceph_ioctl_get_dataloc() is not initialized,
resulting in a WARN and a NULL pointer dereference later on. We will
have more of these on-stack in the future, so fix it with a convenience
macro.
Fixes: d30291b985d1 ("libceph: variable-sized ceph_object_id")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/reiserfs/tail_conversion.c')
0 files changed, 0 insertions, 0 deletions