]> git.ipfire.org Git - people/ms/linux.git/commit
nfs41: .init_read and .init_write can be called with valid pg_lseg
authorPeng Tao <tao.peng@primarydata.com>
Sat, 24 Jan 2015 14:14:52 +0000 (22:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:52:58 +0000 (14:52 -0800)
commit08be8f079c22ce79f4923a49a119cb55ec3556d0
tree78eddcf47cacf802ffb3c3a048c2a08fcba03060
parent052f8db44c173a21626f8016753a12d9523909af
nfs41: .init_read and .init_write can be called with valid pg_lseg

commit cb5d04bc39e914124e811ea55f3034d2379a5f6c upstream.

With pgio refactoring in v3.15, .init_read and .init_write can be
called with valid pgio->pg_lseg. file layout was fixed at that time
by commit c6194271f (pnfs: filelayout: support non page aligned
layouts). But the generic helper still needs to be fixed.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/pnfs.c