diff options
author | Sage Weil <sage@newdream.net> | 2011-07-26 20:30:02 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-07-26 20:30:02 +0200 |
commit | dfabbed6fdd509dc2beb89c954bc36014a1bc7cb (patch) | |
tree | 34186b6bba311438cccbd572f4f93d8165dce89b /fs/ceph/dir.c | |
parent | rbd: set blk_queue request sizes to object size (diff) | |
download | linux-dfabbed6fdd509dc2beb89c954bc36014a1bc7cb.tar.xz linux-dfabbed6fdd509dc2beb89c954bc36014a1bc7cb.zip |
ceph: set dir complete frag after adding capability
Curretly ceph_add_cap clears the complete bit if we are newly issued the
FILE_SHARED cap, which is normally the case for a newly issue cap on a new
directory. That means we clear the just-set bit. Move the check that sets
the flag to after the cap is added/updated.
Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions