]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Remove the redundant function nfs_pgio_has_mirroring()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 30 Mar 2020 00:03:33 +0000 (20:03 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 1 Apr 2020 17:37:56 +0000 (13:37 -0400)
commit687cdcc9a72cac13099b259f70068adac39b60ce
tree462fc62a250011002d921ea293bc6ed0a1db14d0
parent0f994cbd7d5d94943d2f7b852231698321483959
NFS: Remove the redundant function nfs_pgio_has_mirroring()

We need to trust that desc->pg_mirror_idx is set correctly, whether
or not mirroring is enabled.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/internal.h
fs/nfs/pagelist.c