From 45b2a01074c54bdc00449ab8ad6f7af4a777b139 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Fri, 28 Feb 2014 21:16:30 -0500 Subject: [PATCH] staging/lustre/llite: fix open lock matching in ll_md_blocking_ast() In ll_md_blocking_ast() match open locks before all others, ensuring that MDS_INODELOCK_OPEN is not cleared from bits by another open lock with a different mode. Change the int flags parameter of ll_md_real_close() to fmode_t fmode. Clean up verious style issues in both functions. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/8718 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4429 Reviewed-by: Niu Yawei Reviewed-by: Jinshan Xiong Reviewed-by: Oleg Drokin Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed