]> git.ipfire.org Git - thirdparty/kernel/stable.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:57:30 +0000 (14:57 -0800)
commitd52ff195d3faacb0228608aa8b2b1931d5bed21e
tree51bd515d82b777cdc6f11be6a0b802503cdc7b5e
parente1f02461a776f3ee92564d5055b588eb8099e13f
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