]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit075f5139c1271488cde365b89bb880f9f87413b2
tree4cd9e5897b1ee6b22941b4640de5f28f261ed022
parent69bf311bbf6888fa50e519a9398c3eb28a616aa2
pnfs: Increase the refcount when LAYOUTGET fails the first time

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]
fs/nfs/pnfs.c