]> git.baikalelectronics.ru Git - kernel.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)
commit08484f9c5061fba6a9fa79c6062facec91dca489
treef22bde4ae8b325744a8e59aaf855dc05564ac3ea
parent1a0de36d18c37328b8d19b0160ea904db1c8cb67
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