From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759935AbYEQUhb (ORCPT ); Sat, 17 May 2008 16:37:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758581AbYEQUhX (ORCPT ); Sat, 17 May 2008 16:37:23 -0400 Received: from wf-out-1314.google.com ([209.85.200.173]:8424 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751942AbYEQUhW (ORCPT ); Sat, 17 May 2008 16:37:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=da+IrY+wluYlw0fq63XNNQLbZO9hhcONAZ8EbrbVugXO6N6i/LOZMcPV3W5Vel+SWNfL6GFd4yNonATFrvDA3SrswVyMSxelCc4cUhA670o6xoNLgnkq2XKHNULBLxuDqeC0pJWGjeUuQXqJq9KB8X+ZudH8/8VawrUNjl7NFjY= Message-ID: Date: Sat, 17 May 2008 23:37:13 +0300 From: "Ioan Ionita" To: "kernel list" , mszeredi@suse.cz, a.p.zijlstra@chello.nl, akpm@linux-foundation.org Subject: BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Running a Linux ops-desktop 2.6.26-rc1 #7 SMP PREEMPT Sat May 17 19:33:36 EEST 2008 x86_64 GNU/Linux When attempting to mount a ntfs-3g partition under 2.6.26-rc2, i got the following error: fuse: mount failed: Cannot allocate memory I also got the OOPS included below. I bisected the error to: b6f2fcbcfca9db2bd7aa24940224fcd3bbdbb8aa is first bad commit commit b6f2fcbcfca9db2bd7aa24940224fcd3bbdbb8aa Author: Miklos Szeredi Date: Wed Apr 30 00:54:34 2008 -0700 mm: bdi: expose the BDI object in sysfs for FUSE Register FUSE's backing_dev_info under sysfs with the name "fuse-MAJOR:MINOR" Make the fuse control filesystem use s_dev instead of a fuse specific ID. This makes it easier to match directories under /sys/fs/fuse/connections/ with directories under /sys/class/bdi, and with actual mounts. Signed-off-by: Miklos Szeredi Cc: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds :040000 040000 f993fbf0716b58bfcf12dd27abbb25c43ab78326 176a10dec86edc841fc44db6ad4011377a9efe02 M fs OOPS: WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0xa3/0xc0() Modules linked in: Pid: 7545, comm: mount.ntfs Not tainted 2.6.26-rc1 #7 Call Trace: [] warn_on_slowpath+0x64/0xa0 [] printk+0x4e/0x60 [] find_inode+0x43/0x70 [] sysfs_ilookup_test+0x0/0x10 [] ifind+0x64/0xc0 [] sysfs_find_dirent+0x29/0x40 [] sysfs_add_one+0xa3/0xc0 [] create_dir+0x60/0xb0 [] sysfs_create_dir+0x31/0x50 [] kobject_get+0x12/0x20 [] kobject_add_internal+0xe2/0x1c0 [] kobject_add+0x54/0x80 [] search_by_key+0x14a/0xe10 [] free_pages_bulk+0xde/0x300 [] kobject_get+0x12/0x20 [] get_device+0x17/0x30 [] device_add+0xba/0x5c0 [] kobject_init+0x33/0x90 [] device_create+0xe8/0x140 [] vsnprintf+0x45c/0x700 [] kvasprintf+0x71/0x90 [] bdi_register+0x95/0x120 [] percpu_populate+0x44/0x60 [] __kmalloc+0xa4/0x100 [] __percpu_alloc_mask+0x77/0xb0 [] percpu_counter_init+0x6c/0x80 [] bdi_init+0x77/0xc0 [] fuse_fill_super+0x23a/0x640 [] __down_write_nested+0xa1/0xc0 [] strlcpy+0x4e/0x80 [] get_sb_bdev+0x144/0x180 [] fuse_fill_super+0x0/0x640 [] vfs_kern_mount+0x56/0xc0 [] do_kern_mount+0x53/0x110 [] do_new_mount+0x9b/0xe0 [] do_mount+0x1e6/0x220 [] down+0x16/0x50 [] sys_mount+0x9b/0x100 [] system_call_after_swapgs+0x7b/0x80 ---[ end trace 1f3b5efdffae7d27 ]--- kobject_add_internal failed for 253:3 with -EEXIST, don't try to register things with the same name in the same directory. Pid: 7545, comm: mount.ntfs Tainted: G W 2.6.26-rc1 #7 Call Trace: [] kobject_add_internal+0x173/0x1c0 [] kobject_add+0x54/0x80 [] search_by_key+0x14a/0xe10 [] free_pages_bulk+0xde/0x300 [] kobject_get+0x12/0x20 [] get_device+0x17/0x30 [] device_add+0xba/0x5c0 [] kobject_init+0x33/0x90 [] device_create+0xe8/0x140 [] vsnprintf+0x45c/0x700 [] kvasprintf+0x71/0x90 [] bdi_register+0x95/0x120 [] percpu_populate+0x44/0x60 [] __kmalloc+0xa4/0x100 [] __percpu_alloc_mask+0x77/0xb0 [] percpu_counter_init+0x6c/0x80 [] bdi_init+0x77/0xc0 [] fuse_fill_super+0x23a/0x640 [] __down_write_nested+0xa1/0xc0 [] strlcpy+0x4e/0x80 [] get_sb_bdev+0x144/0x180 [] fuse_fill_super+0x0/0x640 [] vfs_kern_mount+0x56/0xc0 [] do_kern_mount+0x53/0x110 [] do_new_mount+0x9b/0xe0 [] do_mount+0x1e6/0x220 [] down+0x16/0x50 [] sys_mount+0x9b/0x100 [] system_call_after_swapgs+0x7b/0x80 If any further info is required, let me know. I'm willing to test any patches as well. Kudos!