summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/blocklayoutxdr.c
diff options
context:
space:
mode:
authorChristoph Hellwig2015-08-17 18:41:00 +0200
committerTrond Myklebust2015-08-17 20:22:49 +0200
commit513d6d7a9591d7c5ebb5f05465942185db9299a4 (patch)
tree0f608a922e96bbda3c5834eaff4f0abbb79e3a59 /fs/nfsd/blocklayoutxdr.c
parentpnfs/blocklayout: reject too long signatures (diff)
downloadkernel-qcow2-linux-513d6d7a9591d7c5ebb5f05465942185db9299a4.tar.gz
kernel-qcow2-linux-513d6d7a9591d7c5ebb5f05465942185db9299a4.tar.xz
kernel-qcow2-linux-513d6d7a9591d7c5ebb5f05465942185db9299a4.zip
pnfs/blocklayout: pass proper file mode to blkdev_get/put
We generally want to read and write to a block device that's used by the pNFS block layout client (and even if it's read only the server has no way of telling us). Add FMODE_WRITE to the mode argument so that we don't incorrectly tell the block driver that we want a read-only open. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfsd/blocklayoutxdr.c')
0 files changed, 0 insertions, 0 deletions