]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: remove unneeded extra padding from ceph_statx
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Sep 2016 13:53:00 +0000 (09:53 -0400)
committerJeff Layton <jlayton@redhat.com>
Tue, 20 Sep 2016 10:25:30 +0000 (06:25 -0400)
Holdover from the proposed kernel API that doesn't really help anything
here. If we ever want to extend this struct, we'll just append to the
end and add new want mask bits.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/include/cephfs/ceph_statx.h

index 94870702d10dc44657fde3465468c3daf76dcc9c..b7c295294ff7bdcef2061273c67b9075efa188ca 100644 (file)
@@ -36,7 +36,6 @@ struct ceph_statx {
        uint32_t        stx_uid;
        uint32_t        stx_gid;
        uint16_t        stx_mode;
-       uint16_t        __spare0[1];
        uint64_t        stx_ino;
        uint64_t        stx_size;
        uint64_t        stx_blocks;
@@ -53,7 +52,6 @@ struct ceph_statx {
        uint32_t        stx_rdev_minor;
        uint32_t        stx_dev_major;
        uint32_t        stx_dev_minor;
-       uint64_t        __spare1[16];
 };
 
 #define CEPH_STATX_MODE                0x00000001U     /* Want/got stx_mode */