OSDN Git Service

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)
commit377840ee48cde0700678ef14141106bbd13e00b5
tree462fc62a250011002d921ea293bc6ed0a1db14d0
parent862f35c94730c9270833f3ad05bd758a29f204ed
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