1. 18 1月, 2012 1 次提交
    • K
      wake up s_wait_unfrozen when ->freeze_fs fails · e1616300
      Kazuya Mio 提交于
      dd slept infinitely when fsfeeze failed because of EIO.
      To fix this problem, if ->freeze_fs fails, freeze_super() wakes up
      the tasks waiting for the filesystem to become unfrozen.
      
      When s_frozen isn't SB_UNFROZEN in __generic_file_aio_write(),
      the function sleeps until FITHAW ioctl wakes up s_wait_unfrozen.
      
      However, if ->freeze_fs fails, s_frozen is set to SB_UNFROZEN and then
      freeze_super() returns an error number. In this case, FITHAW ioctl returns
      EINVAL because s_frozen is already SB_UNFROZEN. There is no way to wake up
      s_wait_unfrozen, so __generic_file_aio_write() sleeps infinitely.
      Signed-off-by: NKazuya Mio <k-mio@sx.jp.nec.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      e1616300
  2. 17 1月, 2012 32 次提交
  3. 16 1月, 2012 7 次提交
    • L
      menuconfig: fix a regression when canceling the prompt dialog at exit · 30c4eaaf
      Li Zefan 提交于
      This commit fixes a bug, while introducing a new one..
      
      commit 7203ddbd4be9720649e47d756a001e0c7d7f8ae2
      Author: Wang YanQing <udknight@gmail.com>
      Date:   Thu Jan 12 11:31:32 2012 +0800
      
          menuconfig: let make not report error when not save configuration
      
      Pressing ESC should cancel the yes/no dialog and return back to
      the main menu, but not exit from menuconfig.
      Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
      Acked-by: NWang YanQing <udknight@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      30c4eaaf
    • O
      ARM: OMAP3: fix build on !CONFIG_IOMMU_API · 1a51a0ce
      Ohad Ben-Cohen 提交于
      omap3isp depends on CONFIG_IOMMU_API, so avoid registering its
      device (and defining its configuration structs) on !CONFIG_IOMMU_API.
      
      This is generally nice to have, but more importantly, it fixes:
      
      arch/arm/plat-omap/include/plat/iommu.h: In function 'dev_to_omap_iommu':
      arch/arm/plat-omap/include/plat/iommu.h:135: error: 'struct
      dev_archdata' has no member named 'iommu'
      arch/arm/mach-omap2/devices.c: In function 'omap3_init_camera':
      arch/arm/mach-omap2/devices.c:222: error: 'struct dev_archdata' has no
      member named 'iommu'
      make[1]: *** [arch/arm/mach-omap2/devices.o] Error 1
      make: *** [arch/arm/mach-omap2] Error 2
      
      Which happens because while setting up the omap3isp device we try
      to access the (now nonexistent) iommu member of dev_archdata.
      
      Compile tested with omap2plus_defconfig on today's:
      
      commit e343a895
      Merge: 06792c4d 193a667f
      Author: Linus Torvalds <torvalds@linux-foundation.org>
      Date:   Tue Jan 10 18:04:27 2012 -0800
      
          Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostReported-by: NGovindraj Raja <govindraj.raja@ti.com>
      Reported-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Joerg Roedel <Joerg.Roedel@amd.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
      1a51a0ce
    • K
      error: implicit declaration of function 'module_flags_taint' · 53999bf3
      Kevin Winchester 提交于
      Recent changes to kernel/module.c caused the following compile
      error:
      
        kernel/module.c: In function ‘show_taint’:
        kernel/module.c:1024:2: error: implicit declaration of function ‘module_flags_taint’ [-Werror=implicit-function-declaration]
        cc1: some warnings being treated as errors
      
      Correct this error by moving the definition of module_flags_taint
      outside of the #ifdef CONFIG_MODULE_UNLOAD section.
      Signed-off-by: NKevin Winchester <kjwinchester@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      53999bf3
    • L
      Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 122804ec
      Linus Torvalds 提交于
      * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (655 commits)
        [media] revert patch: HDIC HD29L2 DMB-TH USB2.0 reference design driver
        mb86a20s: Add a few more register settings at the init seq
        mb86a20s: Group registers into the same line
        [media] [PATCH] don't reset the delivery system on DTV_CLEAR
        [media] [BUG] it913x-fe fix typo error making SNR levels unstable
        [media] cx23885: Query the CX25840 during enum_input for status
        [media] cx25840: Add support for g_input_status
        [media] rc-videomate-m1f.c Rename to match remote controler name
        [media] drivers: media: au0828: Fix dependency for VIDEO_AU0828
        [media] convert drivers/media/* to use module_platform_driver()
        [media] drivers: video: cx231xx: Fix dependency for VIDEO_CX231XX_DVB
        [media] Exynos4 JPEG codec v4l2 driver
        [media] doc: v4l: selection: choose pixels as units for selection rectangles
        [media] v4l: s5p-tv: mixer: fix setup of VP scaling
        [media] v4l: s5p-tv: mixer: add support for selection API
        [media] v4l: emulate old crop API using extended crop/compose API
        [media] doc: v4l: add documentation for selection API
        [media] doc: v4l: add binary images for selection API
        [media] v4l: add support for selection api
        [media] hd29l2: fix review findings
        ...
      122804ec
    • L
      Merge branch 'for-3.3/drivers' of git://git.kernel.dk/linux-block · 16008d64
      Linus Torvalds 提交于
      * 'for-3.3/drivers' of git://git.kernel.dk/linux-block:
        mtip32xx: do rebuild monitoring asynchronously
        xen-blkfront: Use kcalloc instead of kzalloc to allocate array
        mtip32xx: uninitialized variable in mtip_quiesce_io()
        mtip32xx: updates based on feedback
        xen-blkback: convert hole punching to discard request on loop devices
        xen/blkback: Move processing of BLKIF_OP_DISCARD from dispatch_rw_block_io
        xen/blk[front|back]: Enhance discard support with secure erasing support.
        xen/blk[front|back]: Squash blkif_request_rw and blkif_request_discard together
        mtip32xx: update to new ->make_request() API
        mtip32xx: add module.h include to avoid conflict with moduleh tree
        mtip32xx: mark a few more items static
        mtip32xx: ensure that all local functions are static
        mtip32xx: cleanup compat ioctl handling
        mtip32xx: fix warnings/errors on 32-bit compiles
        block: Add driver for Micron RealSSD pcie flash cards
      16008d64
    • L
      Merge branch 'for-3.3/core' of git://git.kernel.dk/linux-block · b3c9dd18
      Linus Torvalds 提交于
      * 'for-3.3/core' of git://git.kernel.dk/linux-block: (37 commits)
        Revert "block: recursive merge requests"
        block: Stop using macro stubs for the bio data integrity calls
        blockdev: convert some macros to static inlines
        fs: remove unneeded plug in mpage_readpages()
        block: Add BLKROTATIONAL ioctl
        block: Introduce blk_set_stacking_limits function
        block: remove WARN_ON_ONCE() in exit_io_context()
        block: an exiting task should be allowed to create io_context
        block: ioc_cgroup_changed() needs to be exported
        block: recursive merge requests
        block, cfq: fix empty queue crash caused by request merge
        block, cfq: move icq creation and rq->elv.icq association to block core
        block, cfq: restructure io_cq creation path for io_context interface cleanup
        block, cfq: move io_cq exit/release to blk-ioc.c
        block, cfq: move icq cache management to block core
        block, cfq: move io_cq lookup to blk-ioc.c
        block, cfq: move cfqd->icq_list to request_queue and add request->elv.icq
        block, cfq: reorganize cfq_io_context into generic and cfq specific parts
        block: remove elevator_queue->ops
        block: reorder elevator switch sequence
        ...
      
      Fix up conflicts in:
       - block/blk-cgroup.c
      	Switch from can_attach_task to can_attach
       - block/cfq-iosched.c
      	conflict with now removed cic index changes (we now use q->id instead)
      b3c9dd18
    • L
      Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 83c2f912
      Linus Torvalds 提交于
      * 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (39 commits)
        perf tools: Fix compile error on x86_64 Ubuntu
        perf report: Fix --stdio output alignment when --showcpuutilization used
        perf annotate: Get rid of field_sep check
        perf annotate: Fix usage string
        perf kmem: Fix a memory leak
        perf kmem: Add missing closedir() calls
        perf top: Add error message for EMFILE
        perf test: Change type of '-v' option to INCR
        perf script: Add missing closedir() calls
        tracing: Fix compile error when static ftrace is enabled
        recordmcount: Fix handling of elf64 big-endian objects.
        perf tools: Add const.h to MANIFEST to make perf-tar-src-pkg work again
        perf tools: Add support for guest/host-only profiling
        perf kvm: Do guest-only counting by default
        perf top: Don't update total_period on process_sample
        perf hists: Stop using 'self' for struct hist_entry
        perf hists: Rename total_session to total_period
        x86: Add counter when debug stack is used with interrupts enabled
        x86: Allow NMIs to hit breakpoints in i386
        x86: Keep current stack in NMI breakpoints
        ...
      83c2f912