Skip to content
  1. Jul 10, 2012
  2. Jul 01, 2012
    • Theodore Ts'o's avatar
      ext4: pass a char * to ext4_count_free() instead of a buffer_head ptr · f6fb99ca
      Theodore Ts'o authored
      
      
      Make it possible for ext4_count_free to operate on buffers and not
      just data in buffer_heads.
      
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      Cc: stable@kernel.org
      f6fb99ca
    • Zheng Liu's avatar
      ext4: honor O_(D)SYNC semantic in ext4_fallocate() · f4e95b33
      Zheng Liu authored
      
      
      Ext4 must make sure the transaction to be commited to the disk when
      user opens a file with O_(D)SYNC flag and do a fallocate(2) call.
      
      This problem had been reported by Christoph Hellwig in this thread:
      http://www.spinics.net/lists/linux-btrfs/msg13621.html
      
      Reported-by: default avatarChristoph Hellwig <hch@infradead.org>
      Signed-off-by: default avatarZheng Liu <wenqing.lz@taobao.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      f4e95b33
    • Aditya Kali's avatar
      ext4: avoid uneeded calls to ext4_mb_load_buddy() while reading mb_groups · 1c8457ca
      Aditya Kali authored
      
      
      Currently ext4_mb_load_buddy is called for every group, irrespective
      of whether the group info is already in memory, while reading
      /proc/fs/ext4/<partition>/mb_groups proc file.  For the purpose of
      mb_groups proc file, it is unnecessary to load the file group info
      from disk if it was loaded in past.  These calls to ext4_mb_load_buddy
      make reading the mb_groups proc file expensive.
      
      Also, the locks around ext4_get_group_info are not required.
      
      This patch modifies the code to call ext4_mb_load_buddy only if the
      group info had never been loaded into memory in past. It also removes
      the mb group locking around ext4_get_group_info call.
      
      Signed-off-by: default avatarAditya Kali <adityakali@google.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      1c8457ca
    • Linus Torvalds's avatar
      Linux 3.5-rc5 · 6887a413
      Linus Torvalds authored
      v3.5-rc5
      6887a413
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · c07978b3
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "Another week, another batch of fixes.
      
        All are small, contained, targeted fixes for explicit problems --
        mostly build and boot failures across i.MX, OMAP, Renesas/Shmobile and
        Samsung."
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: imx6q: fix suspend regression caused by common clk migration
        ARM: OMAP4470: Fix OMAP4470 boot failure
        ARM: EXYNOS: Fix EXYNOS_DEV_DMA Kconfig entry
        ARM: OMAP2+: nand: fix build error when CONFIG_MTD_ONENAND_OMAP2=n
        ARM: shmobile: r8a7779: Route all interrupts to ARM
        ARM: shmobile: kzm9d: use late init machine hook
        ARM: shmobile: kzm9g: use late init machine hook
        ARM: mach-shmobile: armadillo800eva: Use late init machine hook
        ARM: SAMSUNG: Fix for S3C2412 EBI memory mapping
        ARM: mach-shmobile: add missing GPIO IRQ configuration on mackerel
        ARM: mach-shmobile: Fix build when SMP is enabled and EMEV2 is not enabled
        ARM: shmobile: sh7372: bugfix: chclr_offset base
        ARM: shmobile: sh73a0: bugfix: SY-DMAC number
        ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL
      c07978b3
    • Randy Dunlap's avatar
      printk.c: fix kernel-doc warnings · 4f0f4af5
      Randy Dunlap authored
      
      
      Fix kernel-doc warnings in printk.c: use correct parameter name.
      
        Warning(kernel/printk.c:2429): No description found for parameter 'buf'
        Warning(kernel/printk.c:2429): Excess function parameter 'line' description in 'kmsg_dump_get_buffer'
      
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4f0f4af5
    • Randy Dunlap's avatar
      linux/irq.h: fix kernel-doc warning · 87fac288
      Randy Dunlap authored
      Fix kernel-doc warning.  This struct member was removed in commit
      87568264
      
       ("irq: Remove irq_chip->release()") so remove its
      associated kernel-doc entry also.
      
        Warning(include/linux/irq.h:338): Excess struct/union/enum/typedef member 'release' description in 'irq_chip'
      
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Cc: Richard Weinberger <richard@nod.at>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      87fac288
    • Olof Johansson's avatar
      Merge branch 'v3.5-samsung-fixes-1' of... · 5d5474df
      Olof Johansson authored
      Merge branch 'v3.5-samsung-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes
      
      * 'v3.5-samsung-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
        ARM: EXYNOS: Fix EXYNOS_DEV_DMA Kconfig entry
        ARM: SAMSUNG: Fix for S3C2412 EBI memory mapping
        ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL
      5d5474df
    • Shawn Guo's avatar
      ARM: imx6q: fix suspend regression caused by common clk migration · 5ae95aef
      Shawn Guo authored
      
      
      When moving to common clk framework, the imx6q clks rom and mmdc_ch1_axi
      get different on/off states than old clk driver, which breaks suspend
      function.  There might be a better way to manage these clocks, but let's
      takes the old clk driver approach to fix the regression first.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      5ae95aef
    • Olof Johansson's avatar
      Merge tag 'omap-fixes-for-v3.5-rc4' of... · e5a5192a
      Olof Johansson authored
      Merge tag 'omap-fixes-for-v3.5-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
      
      From Tony Lindgren:
      "Here's one more regression fix that I missed earlier, and a
       trivial fix to get omap4470 booting."
      
      * tag 'omap-fixes-for-v3.5-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP4470: Fix OMAP4470 boot failure
        ARM: OMAP2+: nand: fix build error when CONFIG_MTD_ONENAND_OMAP2=n
      e5a5192a
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux · c7676092
      Linus Torvalds authored
      Pull ACPI & Power Management patches from Len Brown.
      
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
        acpi_pad: fix power_saving thread deadlock
        ACPI video: Still use ACPI backlight control if _DOS doesn't exist
        ACPI, APEI, Avoid too much error reporting in runtime
        ACPI: Add a quirk for "AMILO PRO V2030" to ignore the timer overriding
        ACPI: Remove one board specific WARN when ignoring timer overriding
        ACPI: Make acpi_skip_timer_override cover all source_irq==0 cases
        ACPI, x86: fix Dell M6600 ACPI reboot regression via DMI
        ACPI sysfs.c strlen fix
      c7676092
    • Linus Torvalds's avatar
      Merge tag 'driver-core-3.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 21f27291
      Linus Torvalds authored
      
      
      Pull driver Core fixes from Greg Kroah-Hartman:
       "Here is a number of printk() fixes, specifically a few reported by the
        crazy blog program that ships in SUSE releases (that's "boot log" and
        not "web log", it predates the general "blog" terminology by many
        years), and the restoration of the continuation line functionality
        reported by Stephen and others.  Yes, the changes seem a bit big this
        late in the cycle, but I've been beating on them for a while now, and
        Stephen has even optimized it a bit, so all looks good to me.
      
        The other change in here is a Documentation update for the stable
        kernel rules describing how some distro patches should be backported,
        to hopefully drive a bit more response from the distros to the stable
        kernel releases.
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org&gt;">
      
      * tag 'driver-core-3.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        printk: Optimize if statement logic where newline exists
        printk: flush continuation lines immediately to console
        syslog: fill buffer with more than a single message for SYSLOG_ACTION_READ
        Revert "printk: return -EINVAL if the message len is bigger than the buf size"
        printk: fix regression in SYSLOG_ACTION_CLEAR
        stable: Allow merging of backports for serious user-visible performance issues
      21f27291
  3. Jun 30, 2012
    • Len Brown's avatar
      Merge branches 'acpi_pad-bugzilla-42981', 'apei-bugzilla-43282',... · 6eca954e
      Len Brown authored
      Merge branches 'acpi_pad-bugzilla-42981', 'apei-bugzilla-43282', 'video-bugzilla-43168', 'bugzilla-40002' and 'bugfix-misc' into release
      
      bug fixes
      6eca954e
    • Stuart Hayes's avatar
      acpi_pad: fix power_saving thread deadlock · 5f160126
      Stuart Hayes authored
      
      
      The acpi_pad driver can get stuck in destroy_power_saving_task()
      waiting for kthread_stop() to stop a power_saving thread.  The problem
      is that the isolated_cpus_lock mutex is owned when
      destroy_power_saving_task() calls kthread_stop(), which waits for a
      power_saving thread to end, and the power_saving thread tries to
      acquire the isolated_cpus_lock when it calls round_robin_cpu().  This
      patch fixes the issue by making round_robin_cpu() use its own mutex.
      
      https://bugzilla.kernel.org/show_bug.cgi?id=42981
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarStuart Hayes <Stuart_Hayes@Dell.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      5f160126
    • Zhang Rui's avatar
      ACPI video: Still use ACPI backlight control if _DOS doesn't exist · b0373843
      Zhang Rui authored
      This fixes a regression in 3.4-rc1 caused by commit
      ea9f8856
      
      
      (ACPI video: Harden video bus adding.)
      
      Some platforms don't have _DOS control method, but the ACPI
      backlight still works.
      We should not invoke _DOS for these platforms.
      
      https://bugzilla.kernel.org/show_bug.cgi?id=43168
      
      Cc: Igor Murzov <intergalactic.anonymous@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      b0373843
    • Linus Torvalds's avatar
      Merge tag 'pm-for-3.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 02529ba2
      Linus Torvalds authored
      Pull power management fixes from Rafael J. Wysocki:
      
       * Fix for a bug in async suspend error code path causing parents to
         wait forever for their children in case of a suspend error from
         Mandeep Singh Baines (-stable metarial).
      
       * Fix for a suspend regression related to earlier changes in the ACPI
         cpuidle driver from Deepthi Dharwar.
      
      * tag 'pm-for-3.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM / ACPI: Fix suspend/resume regression caused by cpuidle cleanup.
        PM / Sleep: Prevent waiting forever on asynchronous suspend after abort
      02529ba2
    • Steven Rostedt's avatar
      printk: Optimize if statement logic where newline exists · d3620822
      Steven Rostedt authored
      
      
      In reviewing Kay's fix up patch: "printk: Have printk() never buffer its
      data", I found two if statements that could be combined and optimized.
      
      Put together the two 'cont.len && cont.owner == current' if statements
      into a single one, and check if we need to call cont_add(). This also
      removes the unneeded double cont_flush() calls.
      
      Link: http://lkml.kernel.org/r/1340869133.876.10.camel@mop
      
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Cc: Kay Sievers <kay@vrfy.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d3620822
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 15114c7e
      Linus Torvalds authored
      Pull powerpc fixes from Benjamin Herrenschmidt:
       "Here are a few powerpc fixes.  Arguably some of this should have come
        to you earlier but I'm only just catching up after my medical leave.
      
        Mostly these fixes regressions, a couple are long standing bugs."
      
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        powerpc/pseries: Fix software invalidate TCE
        powerpc: check_and_cede_processor() never cedes
        powerpc/ftrace: Do not trace restore_interrupts()
        powerpc: Fix Section mismatch warnings in prom_init.c
        ppc64: fix missing to check all bits of _TIF_USER_WORK_MASK in preempt
        powerpc: Fix uninitialised error in numa.c
        powerpc: Fix BPF_JIT code to link with multiple TOCs
      15114c7e
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 15b77435
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar.
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, cpufeature: Remove stray %s, add -w to mkcapflags.pl
        x86, cpufeature: Catch duplicate CPU feature strings
        x86, cpufeature: Rename X86_FEATURE_DTS to X86_FEATURE_DTHERM
        x86: Fix kernel-doc warnings
        x86, compat: Use test_thread_flag(TIF_IA32) in compat signal delivery
      15b77435
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 62a75b99
      Linus Torvalds authored
      Pull oprofile fixlet from Ingo Molnar.
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        oprofile: perf: use NR_CPUS instead or nr_cpumask_bits for static array
      62a75b99
    • Linus Torvalds's avatar
      Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · efc9def8
      Linus Torvalds authored
      Pull RCU fix from Ingo Molnar.
      
      Fixes a bug introduced in this merge window by commit b1420f1c ("Make
      rcu_barrier() less disruptive")
      
      * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        rcu: Stop rcu_do_batch() from multiplexing the "count" variable
      efc9def8
  4. Jun 29, 2012
    • Kay Sievers's avatar
      printk: flush continuation lines immediately to console · 084681d1
      Kay Sievers authored
      
      
      Continuation lines are buffered internally, intended to merge the
      chunked printk()s into a single record, and to isolate potentially
      racy continuation users from usual terminated line users.
      
      This though, has the effect that partial lines are not printed to
      the console in the moment they are emitted. In case the kernel
      crashes in the meantime, the potentially interesting printed
      information would never reach the consoles.
      
      Here we share the continuation buffer with the console copy logic,
      and partial lines are always immediately flushed to the available
      consoles. They are still buffered internally to improve the
      readability and integrity of the messages and minimize the amount
      of needed record headers to store.
      
      Signed-off-by: default avatarKay Sievers <kay@vrfy.org>
      Tested-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      084681d1
    • Michael Neuling's avatar
      powerpc/pseries: Fix software invalidate TCE · bc6dc752
      Michael Neuling authored
      The following added support for powernv but broke pseries/BML:
       1f1616e8
      
       powerpc/powernv: Add TCE SW invalidation support
      
      TCE_PCI_SW_INVAL was split into FREE and CREATE flags but the tests in
      the pseries code were not updated to reflect this.
      
      Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
      cc: stable@kernel.org [v3.3+]
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      bc6dc752
    • Anton Blanchard's avatar
      powerpc: check_and_cede_processor() never cedes · 0b17ba72
      Anton Blanchard authored
      Commit f948501b
      
       ("Make hard_irq_disable() actually hard-disable
      interrupts") caused check_and_cede_processor to stop working.
      ->irq_happened will never be zero right after a hard_irq_disable
      so the compiler removes the call to cede_processor completely.
      
      The bug was introduced back in the lazy interrupt handling rework
      of 3.4 but was hidden until recently because hard_irq_disable did
      nothing.
      
      This issue will eventually appear in 3.4 stable since the
      hard_irq_disable fix is marked stable, so mark this one for stable
      too.
      
      Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      0b17ba72
    • Steven Rostedt's avatar
      powerpc/ftrace: Do not trace restore_interrupts() · 2d773aa4
      Steven Rostedt authored
      
      
      As I was adding code that affects all archs, I started testing function
      tracer against PPC64 and found that it currently locks up with 3.4
      kernel. I figured it was due to tracing a function that shouldn't be, so
      I went through the following process to bisect to find the culprit:
      
       cat /debug/tracing/available_filter_functions > t
       num=`wc -l t`
       sed -ne "1,${num}p" t > t1
       let num=num+1
       sed -ne "${num},$p" t > t2
       cat t1 > /debug/tracing/set_ftrace_filter
       echo function /debug/tracing/current_tracer
       <failed? bisect t1, if not bisect t2>
      
      It finally came down to this function: restore_interrupts()
      
      I'm not sure why this locks up the system. It just seems to prevent
      scheduling from occurring. Interrupts seem to still work, as I can ping
      the box. But all user processes freeze.
      
      When restore_interrupts() is not traced, function tracing works fine.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      2d773aa4
    • Li Zhong's avatar
      powerpc: Fix Section mismatch warnings in prom_init.c · 2cb387ae
      Li Zhong authored
      
      
      This patches tries to fix a couple of Section mismatch warnings like
      following one:
      
      WARNING: arch/powerpc/kernel/built-in.o(.text+0x2923c): Section mismatch
      in reference from the function .prom_query_opal() to the
      function .init.text:.call_prom()
      The function .prom_query_opal() references
      the function __init .call_prom().
      This is often because .prom_query_opal lacks a __init
      annotation or the annotation of .call_prom is wrong.
      
      Signed-off-by: default avatarLi Zhong <zhong@linux.vnet.ibm.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      2cb387ae
    • Tiejun Chen's avatar
      ppc64: fix missing to check all bits of _TIF_USER_WORK_MASK in preempt · c58ce2b1
      Tiejun Chen authored
      
      
      In entry_64.S version of ret_from_except_lite, you'll notice that
      in the !preempt case, after we've checked MSR_PR we test for any
      TIF flag in _TIF_USER_WORK_MASK to decide whether to go to do_work
      or not. However, in the preempt case, we do a convoluted trick to
      test SIGPENDING only if PR was set and always test NEED_RESCHED ...
      but we forget to test any other bit of _TIF_USER_WORK_MASK !!! So
      that means that with preempt, we completely fail to test for things
      like single step, syscall tracing, etc...
      
      This should be fixed as the following path:
      
       - Test PR. If not set, go to resume_kernel, else continue.
      
       - If go resume_kernel, to do that original do_work.
      
       - If else, then always test for _TIF_USER_WORK_MASK to decide to do
      that original user_work, else restore directly.
      
      Signed-off-by: default avatarTiejun Chen <tiejun.chen@windriver.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      c58ce2b1
    • Michael Neuling's avatar
      powerpc: Fix uninitialised error in numa.c · 82b2521d
      Michael Neuling authored
      
      
      chroma_defconfig currently gives me this with gcc 4.6:
        arch/powerpc/mm/numa.c:638:13: error: 'dm' may be used uninitialized in this function [-Werror=uninitialized]
      
      It's a bogus warning/error since of_get_drconf_memory() only writes it
      anyway.
      
      Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
      cc: <stable@kernel.org> [v3.3+]
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      82b2521d
    • Michael Ellerman's avatar
      powerpc: Fix BPF_JIT code to link with multiple TOCs · 7784655a
      Michael Ellerman authored
      
      
      If the kernel is big enough (eg. allyesconfig), the linker may need to
      switch TOCs when calling from the BPF JIT code out to the external
      helpers (skb_copy_bits() & bpf_internal_load_pointer_neg_helper()).
      
      In order to do that we need to leave space after the bl for the linker
      to insert a reload of our TOC pointer.
      
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Acked-by: default avatarMatt Evans <matt@ozlabs.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      7784655a
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · 9acc7bde
      Linus Torvalds authored
      Pull hwmon changes from Guenter Roeck:
       "Just e-mail address updates"
      
      * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: Update my e-mail address
        hwmon: (applesmc) correct email address for Jesper Juhl
      9acc7bde
    • Linus Torvalds's avatar
      Merge git://www.linux-watchdog.org/linux-watchdog · ccce27c0
      Linus Torvalds authored
      Pull watchdog fixes from Wim Van Sebroeck:
       "This fixes:
         - the WDIOC_GETSTATUS return value
         - the unregister of all NMI events on exit
         - the loading of the iTCO_wdt driver after the conversion to the
           lpc_ich mfd model."
      
      * git://www.linux-watchdog.org/linux-watchdog:
        watchdog: core: fix WDIOC_GETSTATUS return value
        watchdog: hpwdt: Unregister NMI events on exit.
        watchdog: iTCO_wdt: add platform driver module alias
      ccce27c0
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 221d3ebf
      Linus Torvalds authored
      Pull UDF fixes from Jan Kara:
       "Make UDF more robust in presence of corrupted filesystem"
      
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        udf: Fortify loading of sparing table
        udf: Avoid run away loop when partition table length is corrupted
        udf: Use 'ret' instead of abusing 'i' in udf_load_logicalvol()
      221d3ebf
    • Linus Torvalds's avatar
      Merge tag 'upstream-3.5-rc5' of git://git.infradead.org/linux-ubifs · 9a7c6b73
      Linus Torvalds authored
      Pull ubi/ubifs fixes from Artem Bityutskiy:
       "Fix the debugfs regression - we never enable it because incorrect
        'IS_ENABLED()' macro usage: should be 'IS_ENABLED(CONFIG_DEBUG_FS)',
        but we had 'IS_ENABLED(DEBUG_FS)'.  Also fix incorrect assertion."
      
      * tag 'upstream-3.5-rc5' of git://git.infradead.org/linux-ubifs:
        UBI: correct usage of IS_ENABLED()
        UBIFS: correct usage of IS_ENABLED()
        UBIFS: fix assertion
      9a7c6b73
    • Wim Van Sebroeck's avatar
      watchdog: core: fix WDIOC_GETSTATUS return value · 8b9468d4
      Wim Van Sebroeck authored
      In commit 7a879824
      
       we added
      a wrapper for the WDIOC_GETSTATUS ioctl call. The code results
      however in a different behaviour: it returns an error if the
      driver doesn't support the status operation. This is not
      according to the API that says that when we don't support
      the status operation, that we just should return a 0 value.
      Only when the device isn't there anymore, we should return an
      error.
      
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      8b9468d4