ceph: initialize sb->s_bdi, bdi_unregister after kill_anon_super
authorSage Weil <sage@newdream.net>
Wed, 14 Oct 2009 21:09:07 +0000 (14:09 -0700)
committerSage Weil <sage@newdream.net>
Wed, 14 Oct 2009 21:09:07 +0000 (14:09 -0700)
commitf2cf418cec8d61df0651a0140a92a8c75246e14f
tree606533d3b5a41d75e6e1954aae1de94ef85df58b
parentc89136ea4253c73e89e97f5138bb22d97ad9f564
ceph: initialize sb->s_bdi, bdi_unregister after kill_anon_super

Writeback doesn't work without the bdi set, and writeback on
umount doesn't work if we unregister the bdi too early.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/super.c