diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-04-24 19:31:18 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-24 19:31:18 -0400 |
commit | 680406a0bfbaee765ad1da1774b67026dc16ae1c (patch) | |
tree | b9bece92d4b1da8e2b2f230443ed04774e72be23 | |
parent | d00dcb774440bbe1ea88cce69c5fd1cbf307aca5 (diff) | |
download | dbfs-680406a0bfbaee765ad1da1774b67026dc16ae1c.tar.gz |
dbfs: Kill if 0'd code.
-rw-r--r-- | dbfs.c | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -313,30 +313,6 @@ static void dbfs_op_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, free(b.p); } -#if 0 -static void hello_ll_open(fuse_req_t req, fuse_ino_t ino, - struct fuse_file_info *fi) -{ - if (ino != 2) - fuse_reply_err(req, EISDIR); - else if ((fi->flags & 3) != O_RDONLY) - fuse_reply_err(req, EACCES); - else - fuse_reply_open(req, fi); -} - -static const char *hello_str = "Hello World!\n"; - -static void hello_ll_read(fuse_req_t req, fuse_ino_t ino, size_t size, - off_t off, struct fuse_file_info *fi) -{ - (void)fi; - - assert(ino == 2); - reply_buf_limited(req, hello_str, strlen(hello_str), off, size); -} -#endif - static struct fuse_lowlevel_ops dbfs_ops = { .init = dbfs_init, .destroy = dbfs_exit, |