summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-03-24 20:38:35 +0530
committerEric Van Hensbergen <ericvh@gmail.com>2011-04-15 15:26:14 -0500
commitdf5d8c80f1871d9e79af4b0f3656a9528a7d4bab (patch)
treee9baf35f25e5dc97e8e2d06d5b5eaf5ecacfc624 /net
parentc2ed388021a60bb4a9449fddfef770c95875b052 (diff)
downloadop-kernel-dev-df5d8c80f1871d9e79af4b0f3656a9528a7d4bab.zip
op-kernel-dev-df5d8c80f1871d9e79af4b0f3656a9528a7d4bab.tar.gz
9p: revert tsyncfs related changes
Now that we use write_inode to flush server cache related to fid, we don't need tsyncfs either fort dotl or dotu protocols. For dotu this helps to do a more efficient server flush. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/9p/client.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/net/9p/client.c b/net/9p/client.c
index 48b8e08..d72aac7 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -1220,27 +1220,6 @@ error:
}
EXPORT_SYMBOL(p9_client_fsync);
-int p9_client_sync_fs(struct p9_fid *fid)
-{
- int err = 0;
- struct p9_req_t *req;
- struct p9_client *clnt;
-
- P9_DPRINTK(P9_DEBUG_9P, ">>> TSYNC_FS fid %d\n", fid->fid);
-
- clnt = fid->clnt;
- req = p9_client_rpc(clnt, P9_TSYNCFS, "d", fid->fid);
- if (IS_ERR(req)) {
- err = PTR_ERR(req);
- goto error;
- }
- P9_DPRINTK(P9_DEBUG_9P, "<<< RSYNCFS fid %d\n", fid->fid);
- p9_free_req(clnt, req);
-error:
- return err;
-}
-EXPORT_SYMBOL(p9_client_sync_fs);
-
int p9_client_clunk(struct p9_fid *fid)
{
int err;
OpenPOWER on IntegriCloud