]> git.baikalelectronics.ru Git - kernel.git/commit
NFS/flexfiles: Remove dead code in ff_layout_mirror_valid()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 28 Feb 2019 16:35:33 +0000 (11:35 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 2 Mar 2019 03:37:38 +0000 (22:37 -0500)
commit30d1db1352c5a85e6fd036a00801e25ec5391148
tree98bebd52df72e71d998ee54bf25399e55fa4df8f
parentb09e684e233a203311d4544f0fc5d04ea21a49c3
NFS/flexfiles: Remove dead code in ff_layout_mirror_valid()

nfs4_ff_alloc_deviceid_node() guarantees that if mirror->mirror_ds is
a valid pointer, then so is mirror->mirror_ds->ds.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/flexfilelayout/flexfilelayoutdev.c