Revert "ceph: make members in struct ceph_mds_request_args_ext a union"
authorIlya Dryomov <idryomov@gmail.com>
Mon, 18 Sep 2023 08:44:08 +0000 (10:44 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 18 Sep 2023 10:04:50 +0000 (12:04 +0200)
commitd57125b55a292a8e74a1fb17182576a3b2b2e795
tree227c7b4b5aa5bcfa94f0a6c1c6c9f53fe24f47d8
parent2816a09678f50fc6a69e742e90cb1fd7a9f1f9ff
Revert "ceph: make members in struct ceph_mds_request_args_ext a union"

This reverts commit 3af5ae22030cb59fab4fba35f5a2b62f47e14df9.

ceph_mds_request_args_ext was already (and remains to be) a union.  An
additional anonymous union inside is bogus:

    union ceph_mds_request_args_ext {
        union {
            union ceph_mds_request_args old;
            struct { ... } __attribute__ ((packed)) setattr_ext;
        };
    }

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
include/linux/ceph/ceph_fs.h