1. 12 Sep, 2011 3 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://github.com/chrismason/linux · 0b001b2e
      Linus Torvalds authored
      * 'for-linus' of git://github.com/chrismason/linux:
        Btrfs: add dummy extent if dst offset excceeds file end in
        Btrfs: calc file extent num_bytes correctly in file clone
        btrfs: xattr: fix attribute removal
        Btrfs: fix wrong nbytes information of the inode
        Btrfs: fix the file extent gap when doing direct IO
        Btrfs: fix unclosed transaction handle in btrfs_cont_expand
        Btrfs: fix misuse of trans block rsv
        Btrfs: reset to appropriate block rsv after orphan operations
        Btrfs: skip locking if searching the commit root in csum lookup
        btrfs: fix warning in iput for bad-inode
        Btrfs: fix an oops when deleting snapshots
      0b001b2e
    • Miklos Szeredi's avatar
      fuse: fix memory leak · 5dfcc87f
      Miklos Szeredi authored
      kmemleak is reporting that 32 bytes are being leaked by FUSE:
      
        unreferenced object 0xe373b270 (size 32):
        comm "fusermount", pid 1207, jiffies 4294707026 (age 2675.187s)
        hex dump (first 32 bytes):
          01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00  ................
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        backtrace:
          [<b05517d7>] kmemleak_alloc+0x27/0x50
          [<b0196435>] kmem_cache_alloc+0xc5/0x180
          [<b02455be>] fuse_alloc_forget+0x1e/0x20
          [<b0245670>] fuse_alloc_inode+0xb0/0xd0
          [<b01b1a8c>] alloc_inode+0x1c/0x80
          [<b01b290f>] iget5_locked+0x8f/0x1a0
          [<b0246022>] fuse_iget+0x72/0x1a0
          [<b02461da>] fuse_get_root_inode+0x8a/0x90
          [<b02465cf>] fuse_fill_super+0x3ef/0x590
          [<b019e56f>] mount_nodev+0x3f/0x90
          [<b0244e95>] fuse_mount+0x15/0x20
          [<b019d1bc>] mount_fs+0x1c/0xc0
          [<b01b5811>] vfs_kern_mount+0x41/0x90
          [<b01b5af9>] do_kern_mount+0x39/0xd0
          [<b01b7585>] do_mount+0x2e5/0x660
          [<b01b7966>] sys_mount+0x66/0xa0
      
      This leak report is consistent and happens once per boot on
      3.1.0-rc5-dirty.
      
      This happens if a FORGET request is queued after the fuse device was
      released.
      Reported-by: default avatarSitsofe Wheeler <sitsofe@yahoo.com>
      Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
      Tested-by: default avatarSitsofe Wheeler <sitsofe@yahoo.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5dfcc87f
    • Miklos Szeredi's avatar
      fuse: fix flock breakage · 24114504
      Miklos Szeredi authored
      Commit 37fb3a30 ("fuse: fix flock") added in 3.1-rc4 caused flock() to
      fail with ENOSYS with the kernel ABI version 7.16 or earlier.
      
      Fix by falling back to testing FUSE_POSIX_LOCKS for ABI versions 7.16
      and earlier.
      Reported-by: default avatarMartin Ziegler <ziegler@email.mathematik.uni-freiburg.de>
      Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
      Tested-by: default avatarMartin Ziegler <ziegler@email.mathematik.uni-freiburg.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      24114504
  2. 11 Sep, 2011 24 commits
  3. 10 Sep, 2011 9 commits
  4. 09 Sep, 2011 3 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://dev.laptop.org/users/cjb/mmc · a6a5ed0d
      Linus Torvalds authored
      * 'for-linus' of git://dev.laptop.org/users/cjb/mmc:
        mmc: sdhci-s3c: Fix mmc card I/O problem
        mmc: sd: UHS-I bus speed should be set last in UHS initialization
        mmc: sdhi: initialise mmc_data->flags before use
        mmc: core: use non-reentrant workqueue for clock gating
        mmc: core: prevent aggressive clock gating racing with ios updates
        mmc: rename mmc_host_clk_{ungate|gate} to mmc_host_clk_{hold|release}
        mmc: sdhci-esdhc-imx: add missing inclusion of linux/module.h
      a6a5ed0d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://ceph.newdream.net/git/ceph-client · 0d20fbbe
      Linus Torvalds authored
      * 'for-linus' of git://ceph.newdream.net/git/ceph-client:
        libceph: fix leak of osd structs during shutdown
        ceph: fix memory leak
        ceph: fix encoding of ino only (not relative) paths
        libceph: fix msgpool
      0d20fbbe
    • Miklos Szeredi's avatar
      vfs: automount should ignore LOOKUP_FOLLOW · 0ec26fd0
      Miklos Szeredi authored
      Prior to 2.6.38 automount would not trigger on either stat(2) or
      lstat(2) on the automount point.
      
      After 2.6.38, with the introduction of the ->d_automount()
      infrastructure, stat(2) and others would start triggering automount
      while lstat(2), etc. still would not.  This is a regression and a
      userspace ABI change.
      
      Problem originally reported here:
      
        http://thread.gmane.org/gmane.linux.kernel.autofs/6098
      
      It appears that there was an attempt at fixing various userspace tools
      to not trigger the automount.  But since the stat system call is
      rather common it is impossible to "fix" all userspace.
      
      This patch reverts the original behavior, which is to not trigger on
      stat(2) and other symlink following syscalls.
      
      [ It's not really clear what the right behavior is.  Apparently Solaris
        does the "automount on stat, leave alone on lstat".  And some programs
        can get unhappy when "stat+open+fstat" ends up giving a different
        result from the fstat than from the initial stat.
      
        But the change in 2.6.38 resulted in problems for some people, so
        we're going back to old behavior.  Maybe we can re-visit this
        discussion at some future date  - Linus ]
      Reported-by: default avatarLeonardo Chiquitto <leonardo.lists@gmail.com>
      Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
      Acked-by: default avatarIan Kent <raven@themaw.net>
      Cc: David Howells <dhowells@redhat.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0ec26fd0
  5. 08 Sep, 2011 1 commit