From: Miklos Szeredi Date: Mon, 26 Jan 2009 14:00:59 +0000 (+0100) Subject: fuse: destroy bdi on umount X-Git-Tag: v2.6.29-rc3~39^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c3679101dbccc054dcf370143941844ba70531;p=pandora-kernel.git fuse: destroy bdi on umount If a fuse filesystem is unmounted but the device file descriptor remains open and a new mount reuses the old device number, then the mount fails with EEXIST and the following warning is printed in the kernel log: WARNING: at fs/sysfs/dir.c:462 sysfs_add_one+0x35/0x3d() sysfs: duplicate filename '0:15' can not be created The cause is that the bdi belonging to the fuse filesystem was destoryed only after the device file was released. Fix this by calling bdi_destroy() from fuse_put_super() instead. Signed-off-by: Miklos Szeredi CC: stable@kernel.org --- Reading git-diff-tree failed