From 30c474a6c419f544fe3ddf9d2f4d2038c9804164 Mon Sep 17 00:00:00 2001 From: sage Date: Wed, 6 Jul 2005 05:13:07 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@404 29311d96-e01e-0410-9327-a35deaab8ce9 --- ceph/client/SyntheticClient.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph/client/SyntheticClient.cc b/ceph/client/SyntheticClient.cc index 69f7a00043c..714b48825fa 100644 --- a/ceph/client/SyntheticClient.cc +++ b/ceph/client/SyntheticClient.cc @@ -389,7 +389,7 @@ int SyntheticClient::random_walk(int num_req) if (contents.empty()) op = MDS_OP_READDIR; else { - r = client->open( get_random_sub(), O_RDWR ); + r = client->open( get_random_sub(), O_RDONLY ); if (r > 0) { assert(open_files.count(r) == 0); open_files.insert(r);