summaryrefslogtreecommitdiffstats
path: root/fs/exofs/osd.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 21:22:15 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 21:22:15 +0900
commitbff7b55bdb325f62c4e30a97883ebd2b536bd47b (patch)
treede4ab64ec0837ae308e17312b553e9a5209b6f62 /fs/exofs/osd.c
parente7fad451f06e21e74b6051c5ad4917e37460be3a (diff)
parent44b7532b8b464f606053562400719c9c21276037 (diff)
downloadop-kernel-dev-bff7b55bdb325f62c4e30a97883ebd2b536bd47b.zip
op-kernel-dev-bff7b55bdb325f62c4e30a97883ebd2b536bd47b.tar.gz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'fs/exofs/osd.c')
-rw-r--r--fs/exofs/osd.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/fs/exofs/osd.c b/fs/exofs/osd.c
index 06ca926..b3d2ccb 100644
--- a/fs/exofs/osd.c
+++ b/fs/exofs/osd.c
@@ -125,29 +125,3 @@ int extract_attr_from_req(struct osd_request *or, struct osd_attr *attr)
return -EIO;
}
-
-int osd_req_read_kern(struct osd_request *or,
- const struct osd_obj_id *obj, u64 offset, void* buff, u64 len)
-{
- struct request_queue *req_q = or->osd_dev->scsi_device->request_queue;
- struct bio *bio = bio_map_kern(req_q, buff, len, GFP_KERNEL);
-
- if (!bio)
- return -ENOMEM;
-
- osd_req_read(or, obj, bio, offset);
- return 0;
-}
-
-int osd_req_write_kern(struct osd_request *or,
- const struct osd_obj_id *obj, u64 offset, void* buff, u64 len)
-{
- struct request_queue *req_q = or->osd_dev->scsi_device->request_queue;
- struct bio *bio = bio_map_kern(req_q, buff, len, GFP_KERNEL);
-
- if (!bio)
- return -ENOMEM;
-
- osd_req_write(or, obj, bio, offset);
- return 0;
-}
OpenPOWER on IntegriCloud