1. 14 1月, 2010 7 次提交
    • A
      fix autofs/afs/etc. magic mountpoint breakage · 86acdca1
      Al Viro 提交于
      We end up trying to kfree() nd.last.name on open("/mnt/tmp", O_CREAT)
      if /mnt/tmp is an autofs direct mount.  The reason is that nd.last_type
      is bogus here; we want LAST_BIND for everything of that kind and we
      get LAST_NORM left over from finding parent directory.
      
      So make sure that it *is* set properly; set to LAST_BIND before
      doing ->follow_link() - for normal symlinks it will be changed
      by __vfs_follow_link() and everything else needs it set that way.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      86acdca1
    • L
      Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · 004b3506
      Linus Torvalds 提交于
      * 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        drm: change drm set mode messages as DRM_DEBUG
        drm: fix crtc no modes printf + typo
        drm/radeon/kms: only evict to GTT if CP is ready
        drm/radeon/kms: Fix crash getting TV info with no BIOS.
        drm/radeon/kms/rv100: reject modes > 135 Mhz on DVI (v2)
        drm/radeon/kms/r6xx+: make irq handler less verbose
        drm/radeon/kms: fix up LVDS handling on macs (v2)
      004b3506
    • B
      zlib: Fix build of powerpc boot wrapper · 6846ee5c
      Benjamin Herrenschmidt 提交于
      Commit ac4c2a3b broke the build
      of all powerpc boot wrappers.
      
      It attempts to add an include of autoconf.h but used the wrong
      path for it. It also adds -D__KERNEL__ to our boot wrapper, both
      things that we pretty much didn't do on purpose so far.
      
      We want our boot wrapper to remain independent enough of the kernel
      for various reasons, one of them being that you can "wrap" an existing
      kernel at distro install time which allows to ship one kernel image
      and a set of boot wrappers for different platforms, the wrappers
      don't have to be built out of the same kernel build tree.
      
      It's also incorrect to do what the patch does in our boot environment
      since we may not have a proper alignment exception handler which means
      we may not be able to fixup the few cases where an unaligned access will
      need SW emulation (depends on the core variant, could be when crossing
      page or segment boundaries for example).
      
      This patch fixes it by putting the old code back in and using the
      new "fancy" variant only when CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
      is set, which happens not to be set on powerpc since we don't include
      autoconf.h. It also reverts the changes to our boot wrapper Makefile.
      
      This means that x86 should, afaik, keep the optimisations since its
      boot wrapper does include autoconf.h and define __KERNEL__ (though I
      doubt they make that much different outside of slow embedded processors).
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6846ee5c
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 8866f9df
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: wacom: Add BTN_TOOL_FINGER for pad button reporting
        HID: add device IDs for new model of Apple Wireless Keyboard
        HID: fix pad button definition in hid-wacom
        HID: Support 171 byte variant of Samsung USB IR receiver
        HID: blacklist ET&T TC5UH touchscreen controller
      8866f9df
    • L
      Merge branch 'for-33' of git://repo.or.cz/linux-kbuild · 04e9e5c7
      Linus Torvalds 提交于
      * 'for-33' of git://repo.or.cz/linux-kbuild:
        Makefile: do not override LC_CTYPE
        kbuild: really fix bzImage build with non-bash sh
      04e9e5c7
    • O
      vfs: Fix vmtruncate() regression · cedabed4
      OGAWA Hirofumi 提交于
      If __block_prepare_write() was failed in block_write_begin(), the
      allocated blocks can be outside of ->i_size.
      
      But new truncate_pagecache() in vmtuncate() does nothing if new < old.
      It means the above usage is not working anymore.
      
      So, this patch fixes it by removing "new < old" check. It would need
      more cleanup/change. But, now -rc and truncate working is in progress,
      so, this tried to fix it minimum change.
      Acked-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cedabed4
    • L
      Merge branch 'fasync-helper' · e80c14e1
      Linus Torvalds 提交于
      * fasync-helper:
        fasync: split 'fasync_helper()' into separate add/remove functions
      e80c14e1
  2. 13 1月, 2010 33 次提交