X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Ffuse%2Finode.c;h=1806eabe28e37c3048719ac73563cd24910c7c73;hb=438095bc881d76bdfd2e6a2c7d1303622461f4b8;hp=d2249f174e207b109e30eaea1701591d0db4631d;hpb=96534f0011bcf6838b445031096a25f63b28c1d5;p=pandora-kernel.git diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index d2249f174e20..1806eabe28e3 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -292,6 +292,7 @@ static void fuse_put_super(struct super_block *sb) list_del(&fc->entry); fuse_ctl_remove_conn(fc); mutex_unlock(&fuse_mutex); + bdi_destroy(&fc->bdi); fuse_conn_put(fc); } @@ -531,7 +532,6 @@ void fuse_conn_put(struct fuse_conn *fc) if (fc->destroy_req) fuse_request_free(fc->destroy_req); mutex_destroy(&fc->inst_mutex); - bdi_destroy(&fc->bdi); kfree(fc); } }