]> git.ipfire.org Git - people/ms/linux.git/commit
nfs/blocklayout: refactor block device opening
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jun 2022 13:58:22 +0000 (15:58 +0200)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Jul 2022 14:05:21 +0000 (10:05 -0400)
commitf931d8374cad3dc09d0f6e3f76689fdb3f104c1a
treef22bde4ae8b325744a8e59aaf855dc05564ac3ea
parent7ccafd4b2b9f34e6d8185f796f151c47424e273e
nfs/blocklayout: refactor block device opening

Deduplicate the helpers to open a device node by passing a name
prefix argument and using the same helper for both kinds of paths.

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