From: Alexey Lyashkov Date: Sat, 1 Mar 2014 02:16:34 +0000 (-0500) Subject: lustre/mdc: use ibits_known mask for lock match X-Git-Tag: v3.15-rc1~139^2~767 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6caea2f980ac446427b891b9681386cb10d636d7;p=pandora-kernel.git lustre/mdc: use ibits_known mask for lock match Before revalidating a lock on the client, mask the lock bits against the lock bits supported by the server (ibits_known), so newer clients will find valid locks given by older server versions. Signed-off-by: Patrick Farrell Signed-off-by: Alexey Lyashkov Reviewed-on: http://review.whamcloud.com/8636 Xyratex-bug-id: MRP-1583 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4405 Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed