mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
*** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@404 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
8503b6bb12
commit
30c474a6c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user