]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
pNFS/flexfiles: Don't attempt to send layoutstats if there are no entries
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 25 Nov 2016 18:24:09 +0000 (13:24 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 2 Dec 2016 16:42:58 +0000 (11:42 -0500)
commit46c98c6d1bd33f8ae2c3b8f379f1629c472141e3
tree602df41c7ae82a87efbf3f3d9a095171797b5915
parent1bcf4c5c597d1b1862cf54e65198f1c9e3cad29c
pNFS/flexfiles: Don't attempt to send layoutstats if there are no entries

If the list of mirrors is empty, then don't send an RPC call.

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