From 24d3efc62218b66743da655a1010da4dcf7cf34d Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Thu, 14 Mar 2019 15:59:09 +0300 Subject: [PATCH] LU-12069 mdt: add missing argument to enable compilation with gcc8 which is very strict about missing arguments. Change-Id: I08cd4a876c4cb49e15ada7458a637c98ea4d83c0 Signed-off-by: Alex Zhuravlev Reviewed-on: https://review.whamcloud.com/34420 Reviewed-by: Andreas Dilger Reviewed-by: Lai Siyao Reviewed-by: Arshad Hussain Tested-by: Jenkins Reviewed-by: James Simmons Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/mdt/mdt_reint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mdt/mdt_reint.c b/lustre/mdt/mdt_reint.c index 686be9b..ecaec23 100644 --- a/lustre/mdt/mdt_reint.c +++ b/lustre/mdt/mdt_reint.c @@ -2139,7 +2139,7 @@ unlock_open_sem: if (open_sem_locked) up_write(&sobj->mot_open_sem); unlock_links: - mdt_unlock_list(info, &link_locks, do_sync ?: rc); + mdt_unlock_list(info, &link_locks, do_sync ? 1 : rc); put_source: mdt_object_put(env, sobj); mdt_object_put(env, spobj); -- 1.8.3.1