OSDN Git Service

nfs/blocklayout: refactor open-by-wwn
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2016 09:41:29 +0000 (18:41 +0900)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 15 Jul 2016 19:46:08 +0000 (15:46 -0400)
commitd702d41ed41328487bd3b270467721222f8036e4
treecd6fdecab6d461caeafa864dd968837dc73f5280
parent0173ca0544b682b7b313269dc0600d4774098a14
nfs/blocklayout: refactor open-by-wwn

The current code works with the standard udev/systemd names, but we'll have
to add another method in the next patch.  Refactor it into a separate helper
to make room for the new variant.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/dev.c