diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-10-02 09:17:58 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-10-02 09:17:58 +1000 |
commit | b1d6cc02f2f6a590c4d8dc2c3bcf7be3b9419945 (patch) | |
tree | 257fa26c2814f86ef33c73077f9577f779dc2130 /fs/xfs/xfs_ioctl32.h | |
parent | 2ebff7bbd785c86e12956388b9e6f6bb8ea5d21e (diff) | |
download | linux-b1d6cc02f2f6a590c4d8dc2c3bcf7be3b9419945.tar.gz linux-b1d6cc02f2f6a590c4d8dc2c3bcf7be3b9419945.tar.bz2 linux-b1d6cc02f2f6a590c4d8dc2c3bcf7be3b9419945.zip |
xfs: compat_xfs_bstat does not have forkoff
struct compat_xfs_bstat is missing the di_forkoff field and so does
not fully translate the structure correctly. Fix it.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl32.h')
-rw-r--r-- | fs/xfs/xfs_ioctl32.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ioctl32.h b/fs/xfs/xfs_ioctl32.h index 80f4060e8970..b1bb45444df8 100644 --- a/fs/xfs/xfs_ioctl32.h +++ b/fs/xfs/xfs_ioctl32.h @@ -67,8 +67,9 @@ typedef struct compat_xfs_bstat { __u32 bs_gen; /* generation count */ __u16 bs_projid_lo; /* lower part of project id */ #define bs_projid bs_projid_lo /* (previously just bs_projid) */ + __u16 bs_forkoff; /* inode fork offset in bytes */ __u16 bs_projid_hi; /* high part of project id */ - unsigned char bs_pad[12]; /* pad space, unused */ + unsigned char bs_pad[10]; /* pad space, unused */ __u32 bs_dmevmask; /* DMIG event mask */ __u16 bs_dmstate; /* DMIG state info */ __u16 bs_aextents; /* attribute number of extents */ |