commit | 5dfc589a8467470226feccdc50f1b32713318e7b | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue May 04 16:14:46 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue May 04 16:14:46 2010 -0700 |
tree | 82998c57555055cf3763e9a4fc757d5de0628c21 | |
parent | b0930f8d38c6ab76dc8222a5a910a21392d38208 [diff] |
ceph: unregister bdi before kill_anon_super releases device name Unregister and destroy the bdi in put_super, after mount is r/o, but before put_anon_super releases the device name. For symmetry, bdi_destroy in destroy_client (we bdi_init in create_client). Only set s_bdi if bdi_register succeeds, since we use it to decide whether to bdi_unregister. Signed-off-by: Sage Weil <sage@newdream.net>