nfs/blocklayout: use proper fmode for opening block devices
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2016 09:41:28 +0000 (18:41 +0900)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 15 Jul 2016 19:46:08 +0000 (15:46 -0400)
commit0173ca0544b682b7b313269dc0600d4774098a14
treea27d8a7fe5ced11f29b09ac792df0fd2a8af5d2f
parent5edb56491d4812c42175980759da53388e5d86f5
nfs/blocklayout: use proper fmode for opening block devices

This was fixed for the original block layout code a while ago, but also
needs to be fixed for the SCSI layout path.

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