lkml.org 
[lkml]   [2016]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/56] staging/lustre: Get rid of quota_cmd_t typedef
    Date
    From: Oleg Drokin <green@linuxhacker.ru>

    Replace it with enum quota_cmd

    Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
    ---
    drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
    index 50e70fe..c0b05d4 100644
    --- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
    +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
    @@ -2006,11 +2006,11 @@ void lustre_swab_lquota_lvb(struct lquota_lvb *lvb);
    #define lvb_glb_ver lvb_id_may_rel /* current version of the global index */

    /* op codes */
    -typedef enum {
    +enum quota_cmd {
    QUOTA_DQACQ = 601,
    QUOTA_DQREL = 602,
    QUOTA_LAST_OPC
    -} quota_cmd_t;
    +};
    #define QUOTA_FIRST_OPC QUOTA_DQACQ

    /*
    --
    2.1.0
    \
     
     \ /
      Last update: 2016-02-23 05:41    [W:4.031 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site