From: Trond Myklebust Date: Thu, 20 Sep 2012 19:07:45 +0000 (-0400) Subject: NFSv4.1: Get rid of pNFS layout state "NFS_LAYOUT_INVALID" X-Git-Tag: v3.7-rc1~58^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=965938b83b19aeffdc1d16ce9947c8c127e8f59b;p=pandora-kernel.git NFSv4.1: Get rid of pNFS layout state "NFS_LAYOUT_INVALID" In all cases where we set NFS_LAYOUT_INVALID, we also set NFS_LAYOUT_DESTROYED. Furthermore, in all cases where we test for NFS_LAYOUT_INVALID, we should also be testing for NFS_LAYOUT_DESTROYED, since the latter means that we hold no valid layout segments. Ergo the two are redundant. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed