pnfs: Increase the refcount when LAYOUTGET fails the first time
authorYanchuan Nian <ycnian@gmail.com>
Fri, 4 Jan 2013 12:19:49 +0000 (20:19 +0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Jan 2013 15:50:42 +0000 (10:50 -0500)
The layout will be set unusable if LAYOUTGET fails. Is it reasonable to
increase the refcount iff LAYOUTGET fails the first time?

Signed-off-by: Yanchuan Nian <ycnian@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org [>= 3.7]

No differences found