ceph: don't leave ino field in ceph_mds_request_head uninitialized
authorJeff Layton <jlayton@kernel.org>
Mon, 14 Oct 2019 19:41:54 +0000 (15:41 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 25 Nov 2019 10:44:02 +0000 (11:44 +0100)
commit2def865a81c23f088140f00beb8e76cbde5b6f95
tree7dcde552e47c8be7dd27cc31d5db3c7546c78e07
parentf5946bcc5e79038f9f7cb66ec25bd3b2d39b2775
ceph: don't leave ino field in ceph_mds_request_head uninitialized

We currently just pass junk in this field unless we're retransmitting a
create, but in later patches, we'll need a mechanism to pass a delegated
inode number on an initial create request. Prepare for this by ensuring
this field is zeroed out.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c