lkml.org 
[lkml]   [2017]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 18/23] overlayfs: use uuid_t instead of uuid_be
    Date
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    ---
    fs/overlayfs/copy_up.c | 2 +-
    fs/overlayfs/overlayfs.h | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c
    index 5b795873f7fa..2a67e8c13098 100644
    --- a/fs/overlayfs/copy_up.c
    +++ b/fs/overlayfs/copy_up.c
    @@ -233,7 +233,7 @@ int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat)
    return err;
    }

    -static struct ovl_fh *ovl_encode_fh(struct dentry *lower, uuid_be *uuid)
    +static struct ovl_fh *ovl_encode_fh(struct dentry *lower, uuid_t *uuid)
    {
    struct ovl_fh *fh;
    int fh_type, fh_len, dwords;
    diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h
    index caa36cb9c46d..cb0fc450419b 100644
    --- a/fs/overlayfs/overlayfs.h
    +++ b/fs/overlayfs/overlayfs.h
    @@ -55,7 +55,7 @@ struct ovl_fh {
    u8 len; /* size of this header + size of fid */
    u8 flags; /* OVL_FH_FLAG_* */
    u8 type; /* fid_type of fid */
    - uuid_be uuid; /* uuid of filesystem */
    + uuid_t uuid; /* uuid of filesystem */
    u8 fid[0]; /* file identifier */
    } __packed;

    --
    2.11.0
    \
     
     \ /
      Last update: 2017-05-18 08:30    [W:2.267 / U:0.372 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site