]> rtime.felk.cvut.cz Git - linux-imx.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)
commit39e88fcfb1d5c6c4b1ff76ca2ab76cf449b850e8
tree4cd9e5897b1ee6b22941b4640de5f28f261ed022
parentf8d9a897d4384b77f13781ea813156568f68b83e
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