Преглед на файлове

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
  fuse: destroy bdi on error
Linus Torvalds преди 16 години
родител
ревизия
a6aeeebf51
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      fs/fuse/inode.c

+ 1 - 0
fs/fuse/inode.c

@@ -911,6 +911,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
  err_put_root:
 	dput(root_dentry);
  err_put_conn:
+	bdi_destroy(&fc->bdi);
 	fuse_conn_put(fc);
  err_fput:
 	fput(file);