1. 12 1月, 2011 13 次提交
    • L
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6 · 7c955fca
      Linus Torvalds 提交于
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6:
        UDF: Close small mem leak in udf_find_entry()
        udf: Fix directory corruption after extent merging
        udf: Protect udf_file_aio_write from possible races
        udf: Remove unnecessary bkl usages
        udf: Use of s_alloc_mutex to serialize udf_relocate_blocks() execution
        udf: Replace bkl with the UDF_I(inode)->i_data_sem for protect udf_inode_info struct
        udf: Remove BKL from free space counting functions
        udf: Call udf_add_free_space() for more blocks at once in udf_free_blocks()
        udf: Remove BKL from udf_put_super() and udf_remount_fs()
        udf: Protect default inode credentials by rwlock
        udf: Protect all modifications of LVID with s_alloc_mutex
        udf: Move handling of uniqueID into a helper function and protect it by a s_alloc_mutex
        udf: Remove BKL from udf_update_inode
        udf: Convert UDF_SB(sb)->s_flags to use bitops
        fs/udf: Add printf format/argument verification
        fs/udf: Use vzalloc
      
      (Evil merge: this also removes the BKL dependency from the Kconfig file)
      7c955fca
    • L
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · e9688f6a
      Linus Torvalds 提交于
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (44 commits)
        ext4: fix trimming starting with block 0 with small blocksize
        ext4: revert buggy trim overflow patch
        ext4: don't pass entire map to check_eofblocks_fl
        ext4: fix memory leak in ext4_free_branches
        ext4: remove ext4_mb_return_to_preallocation()
        ext4: flush the i_completed_io_list during ext4_truncate
        ext4: add error checking to calls to ext4_handle_dirty_metadata()
        ext4: fix trimming of a single group
        ext4: fix uninitialized variable in ext4_register_li_request
        ext4: dynamically allocate the jbd2_inode in ext4_inode_info as necessary
        ext4: drop i_state_flags on architectures with 64-bit longs
        ext4: reorder ext4_inode_info structure elements to remove unneeded padding
        ext4: drop ec_type from the ext4_ext_cache structure
        ext4: use ext4_lblk_t instead of sector_t for logical blocks
        ext4: replace i_delalloc_reserved_flag with EXT4_STATE_DELALLOC_RESERVED
        ext4: fix 32bit overflow in ext4_ext_find_goal()
        ext4: add more error checks to ext4_mkdir()
        ext4: ext4_ext_migrate should use NULL not 0
        ext4: Use ext4_error_file() to print the pathname to the corrupted inode
        ext4: use IS_ERR() to check for errors in ext4_error_file
        ...
      e9688f6a
    • L
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 · 40c73abb
      Linus Torvalds 提交于
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6:
        ext2: Resolve 'dereferencing pointer to incomplete type' when enabling EXT2_XATTR_DEBUG
        ext3: Remove redundant unlikely()
        ext2: Remove redundant unlikely()
        ext3: speed up file creates by optimizing rec_len functions
        ext2: speed up file creates by optimizing rec_len functions
        ext3: Add more journal error check
        ext3: Add journal error check in resize.c
        quota: Use %pV and __attribute__((format (printf in __quota_error and fix fallout
        ext3: Add FITRIM handling
        ext3: Add batched discard support for ext3
        ext3: Add journal error check into ext3_rename()
        ext3: Use search_dirblock() in ext3_dx_find_entry()
        ext3: Avoid uninitialized memory references with a corrupted htree directory
        ext3: Return error code from generic_check_addressable
        ext3: Add journal error check into ext3_delete_entry()
        ext3: Add error check in ext3_mkdir()
        fs/ext3/super.c: Use printf extension %pV
        fs/ext2/super.c: Use printf extension %pV
        ext3: don't update sb journal_devnum when RO dev
      40c73abb
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs · 0945f352
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
        fs/9p: Don't set dentry->d_op in create routines
        fs/9p: fix spelling typo
        fs/9p: TREADLINK bugfix
        net/9p: Use proper data types
        fs/9p: Simplify the .L create operation
        fs/9p: Move dotl inode operations into a seperate file
        fs/9p: fix menu presentation
        fs/9p: Fix the return error on default acl removal
        fs/9p: Remove unnecessary semicolons
      0945f352
    • J
      ext4: fix trimming starting with block 0 with small blocksize · 0f0a25bf
      Jan Kara 提交于
      When s_first_data_block is not zero (which happens e.g. when block size is 1KB)
      and trim ioctl is called to start trimming from block 0, the math in
      ext4_get_group_no_and_offset() overflows. The overall result is that ioctl
      returns EINVAL which is kind of unexpected and we probably don't want
      userspace tools to bother with internal details of filesystem structure.
      So just silently increase starting offset (and shorten length) when starting
      block is below s_first_data_block.
      
      CC: Lukas Czerner <lczerner@redhat.com>
      Signed-off-by: NJan Kara <jack@suse.cz>
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      0f0a25bf
    • T
      ext4: revert buggy trim overflow patch · 0a2179b1
      Theodore Ts'o 提交于
      This reverts commit 4f531501: ext4: fix possible overflow in
      ext4_trim_fs()
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      0a2179b1
    • L
      Merge branch 'for-linus-merged' of git://oss.sgi.com/xfs/xfs · 7bc4a4ce
      Linus Torvalds 提交于
      * 'for-linus-merged' of git://oss.sgi.com/xfs/xfs: (47 commits)
        xfs: convert grant head manipulations to lockless algorithm
        xfs: introduce new locks for the log grant ticket wait queues
        xfs: convert log grant heads to atomic variables
        xfs: convert l_tail_lsn to an atomic variable.
        xfs: convert l_last_sync_lsn to an atomic variable
        xfs: make AIL tail pushing independent of the grant lock
        xfs: use wait queues directly for the log wait queues
        xfs: combine grant heads into a single 64 bit integer
        xfs: rework log grant space calculations
        xfs: fact out common grant head/log tail verification code
        xfs: convert log grant ticket queues to list heads
        xfs: use AIL bulk delete function to implement single delete
        xfs: use AIL bulk update function to implement single updates
        xfs: remove all the inodes on a buffer from the AIL in bulk
        xfs: consume iodone callback items on buffers as they are processed
        xfs: reduce the number of AIL push wakeups
        xfs: bulk AIL insertion during transaction commit
        xfs: clean up xfs_ail_delete()
        xfs: Pull EFI/EFD handling out from under the AIL lock
        xfs: fix EFI transaction cancellation.
        ...
      7bc4a4ce
    • L
      Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2 · 498f7f50
      Linus Torvalds 提交于
      * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2: (22 commits)
        MAINTAINERS: Update Joel Becker's email address
        ocfs2: Remove unused truncate function from alloc.c
        ocfs2/cluster: dereferencing before checking in nst_seq_show()
        ocfs2: fix build for OCFS2_FS_STATS not enabled
        ocfs2/cluster: Show o2net timing statistics
        ocfs2/cluster: Track process message timing stats for each socket
        ocfs2/cluster: Track send message timing stats for each socket
        ocfs2/cluster: Use ktime instead of timeval in struct o2net_sock_container
        ocfs2/cluster: Replace timeval with ktime in struct o2net_send_tracking
        ocfs2: Add DEBUG_FS dependency
        ocfs2/dlm: Hard code the values for enums
        ocfs2/dlm: Minor cleanup
        ocfs2/dlm: Cleanup dlmdebug.c
        ocfs2: Release buffer_head in case of error in ocfs2_double_lock.
        ocfs2/cluster: Pin the local node when o2hb thread starts
        ocfs2/cluster: Show pin state for each o2hb region
        ocfs2/cluster: Pin/unpin o2hb regions
        ocfs2/cluster: Remove dropped region from o2hb quorum region bitmap
        ocfs2/cluster: Pin the remote node item in configfs
        ocfs2/dlm: make existing convertion precedent over new lock
        ...
      498f7f50
    • L
      Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze · 0969d11e
      Linus Torvalds 提交于
      * 'next' of git://git.monstr.eu/linux-2.6-microblaze:
        microblaze: remove obsolete DEBUG_BOOTMEM
        microblaze: trivial: Fix removed the part of line
        microblaze: Fix __muldi3 function for little-endian.
        microblaze: Clear i/dcache for sw breakpoints
        microblaze: Remove useless early_init_dt_check_for_initrd
        microblaze: Fix unaligned exception for little endian platform
        microblaze: Add PVR for Microblaze v8.00.b
        microblaze: Correct PVR access macros
        Revert "microblaze: Simplify syscall rutine"
        microblaze: Fix initramfs
        arch/microblaze: Remove unnecessary semicolons
      0969d11e
    • L
      Merge branch 'x86-urgent-for-linus' of... · 16ee8db6
      Linus Torvalds 提交于
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86: Fix Moorestown VRTC fixmap placement
        x86/gpio: Implement x86 gpio_to_irq convert function
        x86, UV: Fix APICID shift for Westmere processors
        x86: Use PCI method for enabling AMD extended config space before MSR method
        x86: tsc: Prevent delayed init if initial tsc calibration failed
        x86, lapic-timer: Increase the max_delta to 31 bits
        x86: Fix sparse non-ANSI function warnings in smpboot.c
        x86, numa: Fix CONFIG_DEBUG_PER_CPU_MAPS without NUMA emulation
        x86, AMD, PCI: Add AMD northbridge PCI device id for CPU families 12h and 14h
        x86, numa: Fix cpu to node mapping for sparse node ids
        x86, numa: Fake node-to-cpumask for NUMA emulation
        x86, numa: Fake apicid and pxm mappings for NUMA emulation
        x86, numa: Avoid compiling NUMA emulation functions without CONFIG_NUMA_EMU
        x86, numa: Reduce minimum fake node size to 32M
      
      Fix up trivial conflict in arch/x86/kernel/apic/x2apic_uv_x.c
      16ee8db6
    • L
      Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip · 5943a268
      Linus Torvalds 提交于
      * 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        rtc: Namespace fixup
        RTC: Remove UIE emulation
        RTC: Rework RTC code to use timerqueue for events
      
      Fix up trivial conflict in drivers/rtc/rtc-dev.c
      5943a268
    • L
      Merge branch 'perf-fixes-for-linus' of... · 42776163
      Linus Torvalds 提交于
      Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (28 commits)
        perf session: Fix infinite loop in __perf_session__process_events
        perf evsel: Support perf_evsel__open(cpus > 1 && threads > 1)
        perf sched: Use PTHREAD_STACK_MIN to avoid pthread_attr_setstacksize() fail
        perf tools: Emit clearer message for sys_perf_event_open ENOENT return
        perf stat: better error message for unsupported events
        perf sched: Fix allocation result check
        perf, x86: P4 PMU - Fix unflagged overflows handling
        dynamic debug: Fix build issue with older gcc
        tracing: Fix TRACE_EVENT power tracepoint creation
        tracing: Fix preempt count leak
        tracepoint: Add __rcu annotation
        tracing: remove duplicate null-pointer check in skb tracepoint
        tracing/trivial: Add missing comma in TRACE_EVENT comment
        tracing: Include module.h in define_trace.h
        x86: Save rbp in pt_regs on irq entry
        x86, dumpstack: Fix unused variable warning
        x86, NMI: Clean-up default_do_nmi()
        x86, NMI: Allow NMI reason io port (0x61) to be processed on any CPU
        x86, NMI: Remove DIE_NMI_IPI
        x86, NMI: Add priorities to handlers
        ...
      42776163
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc · edb2877f
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (39 commits)
        mmc: davinci: add support for SDIO irq handling
        mmc: fix division by zero in MMC core
        mmc: tmio_mmc: fix CMD irq handling
        mmc: tmio_mmc: handle missing HW interrupts
        mfd: sh_mobile_sdhi: activate SDIO IRQ for tmio_mmc
        mmc: tmio_mmc: implement SDIO IRQ support
        mfd: sdhi: require the tmio-mmc driver to bounce unaligned buffers
        mmc: tmio_mmc: silence compiler warnings
        mmc: tmio_mmc: implement a bounce buffer for unaligned DMA
        mmc: tmio_mmc: merge the private header into the driver
        mmc: tmio_mmc: fix PIO fallback on DMA descriptor allocation failure
        mmc: tmio_mmc: allow multi-element scatter-gather lists
        mmc: Register debugfs dir before calling card probe function.
        mmc: MMC_BLOCK_MINORS should depend on MMC_BLOCK.
        mmc: Explain why we make adjacent mmc_bus_{put,get} calls during rescan.
        mmc: Fix sd/sdio/mmc initialization frequency retries
        mmc: fix mmc_set_bus_width_ddr() call without bus-width-test cap
        mmc: dw_mmc: Add Synopsys DesignWare mmc host driver.
        mmc: add sdhci-tegra driver for Tegra SoCs
        mmc: sdhci: add quirk for max len ADMA descriptors
        ...
      edb2877f
  2. 11 1月, 2011 27 次提交