aboutsummaryrefslogtreecommitdiff
path: root/fsdev/file-op-9p.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-06-08 12:15:43 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-06-08 12:15:43 -0500
commit93e0597ef9fa266756c30e61fafe4b70fc7ce6a6 (patch)
treeb1dcd7925329853ac5284bc2c12ebecdfa44fa34 /fsdev/file-op-9p.h
parentac779fe2334ebea5d4a365b053d786f7748a1db5 (diff)
parent5c3234c6c037943bd4c2d643a1b8cc35f563dbdb (diff)
Merge remote-tracking branch 'jvrao/for-anthony' into staging
Diffstat (limited to 'fsdev/file-op-9p.h')
-rw-r--r--fsdev/file-op-9p.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h
index 126e60e276..af9daf797f 100644
--- a/fsdev/file-op-9p.h
+++ b/fsdev/file-op-9p.h
@@ -97,11 +97,4 @@ typedef struct FileOperations
void *opaque;
} FileOperations;
-static inline const char *rpath(FsContext *ctx, const char *path)
-{
- /* FIXME: so wrong... */
- static char buffer[4096];
- snprintf(buffer, sizeof(buffer), "%s/%s", ctx->fs_root, path);
- return buffer;
-}
#endif