mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
staging/lustre: make obd_uuid_equals return bool
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1ecc2061f6
commit
211b316813
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user