lkml.org 
[lkml]   [2013]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 04/15] staging/lustre: make obd_uuid_equals return bool
    Date
    From: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>

    This is only part of the original Lustre tree commit.
    Main part of the original commit changes server code and is
    unneeded at client side.

    Lustre-change: http://review.whamcloud.com/6534
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3342
    Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <bergwolf@gmail.com>
    Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
    ---
    .../lustre/lustre/include/lustre/lustre_user.h | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_user.h b/drivers/staging/lustre/lustre/include/lustre/lustre_user.h
    index ff825d8..631f026 100644
    --- a/drivers/staging/lustre/lustre/include/lustre/lustre_user.h
    +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_user.h
    @@ -428,8 +428,8 @@ struct obd_uuid {
    char uuid[UUID_MAX];
    };

    -static inline int obd_uuid_equals(const struct obd_uuid *u1,
    - const struct obd_uuid *u2)
    +static inline bool obd_uuid_equals(const struct obd_uuid *u1,
    + const struct obd_uuid *u2)
    {
    return strcmp((char *)u1->uuid, (char *)u2->uuid) == 0;
    }
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2013-12-03 15:41    [W:4.266 / U:1.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site