1. 15 3月, 2010 1 次提交
  2. 10 3月, 2010 2 次提交
  3. 06 3月, 2010 3 次提交
    • J
      cifs: add a CIFSSMBUnixQFileInfo function · c8634fd3
      Jeff Layton 提交于
      ...to allow us to get unix attrs via filehandle.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      c8634fd3
    • J
      cifs: add a CIFSSMBQFileInfo function · bcd5357f
      Jeff Layton 提交于
      ...to get inode attributes via filehandle instead of by path.
      
      In some places, we need to revalidate an inode on an open filehandle,
      but we can't necessarily guarantee that the dentry associated with it
      will still be valid. When we have an open filehandle already, it makes
      more sense to do a filehandle based operation anyway.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      bcd5357f
    • J
      cifs: overhaul cifs_revalidate and rename to cifs_revalidate_dentry · df2cf170
      Jeff Layton 提交于
      cifs_revalidate is renamed to cifs_revalidate_dentry as a later patch
      will add a by-filehandle variant.
      
      Add a new "invalid_mapping" flag to the cifsInodeInfo that indicates
      that the pagecache is considered invalid. Add a new routine to check
      inode attributes whenever they're updated and set that flag if the inode
      has changed on the server.
      
      cifs_revalidate_dentry is then changed to just update the attrcache if
      needed and then to zap the pagecache if it's not valid.
      
      There are some other behavior changes in here as well. Open files are
      now allowed to have their caches invalidated. I see no reason why we'd
      want to keep stale data around just because a file is open. Also,
      cifs_revalidate_cache uses the server_eof for revalidating the file
      size since that should more closely match the size of the file on the
      server.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      df2cf170
  4. 05 3月, 2010 6 次提交
    • L
      Merge branch 'for-linus' of git://git.open-osd.org/linux-open-osd · 64ba9926
      Linus Torvalds 提交于
      * 'for-linus' of git://git.open-osd.org/linux-open-osd:
        exofs: groups support
        exofs: Prepare for groups
        exofs: Error recovery if object is missing from storage
        exofs: convert io_state to use pages array instead of bio at input
        exofs: RAID0 support
        exofs: Define on-disk per-inode optional layout attribute
        exofs: unindent exofs_sbi_read
        exofs: Move layout related members to a layout structure
        exofs: Recover in the case of read-passed-end-of-file
        exofs: Micro-optimize exofs_i_info
        exofs: debug print even less
      64ba9926
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 6895210e
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
        sparc64: Make prom entry spinlock NMI safe.
        sparc64: Kill off old sys_perfctr system call and state.
        sparc: Update defconfigs.
        sparc: Provide io{read,write}{16,32}be().
      6895210e
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6 · 4c10c937
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6: (49 commits)
        drivers/ide: Fix continuation line formats
        ide: fixed section mismatch warning in cmd640.c
        ide: ide_timing_compute() fixup
        ide: make ide_get_best_pio_mode() static
        via82cxxx: use ->pio_mode value to determine pair device speed
        tx493xide: use ->pio_mode value to determine pair device speed
        siimage: use ->pio_mode value to determine pair device speed
        palm_bk3710: use ->pio_mode value to determine pair device speed
        it821x: use ->pio_mode value to determine pair device speed
        cs5536: use ->pio_mode value to determine pair device speed
        cs5535: use ->pio_mode value to determine pair device speed
        cmd64x: fix handling of address setup timings
        amd74xx: use ->pio_mode value to determine pair device speed
        alim15x3: fix handling of UDMA enable bit
        alim15x3: fix handling of DMA timings
        alim15x3: fix handling of command timings
        alim15x3: fix handling of address setup timings
        ide-timings: use ->pio_mode value to determine fastest PIO speed
        ide: change ->set_dma_mode method parameters
        ide: change ->set_pio_mode method parameters
        ...
      4c10c937
    • L
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx · 9bb67696
      Linus Torvalds 提交于
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx: (28 commits)
        ioat: cleanup ->timer_fn() and ->cleanup_fn() prototypes
        ioat3: interrupt coalescing
        ioat: close potential BUG_ON race in the descriptor cleanup path
        ioat2: kill pending flag
        ioat3: use ioat2_quiesce()
        ioat3: cleanup, don't enable DCA completion writes
        DMAENGINE: COH 901 318 lli sg offset fix
        DMAENGINE: COH 901 318 configure channel direction
        DMAENGINE: COH 901 318 remove irq counting
        DMAENGINE: COH 901 318 descriptor pool refactoring
        DMAENGINE: COH 901 318 cleanups
        dma: Add MPC512x DMA driver
        Debugging options for the DMA engine subsystem
        iop-adma: redundant/wrong tests in iop_*_count()?
        dmatest: fix handling of an even number of xor_sources
        dmatest: correct raid6 PQ test
        fsldma: Fix cookie issues
        fsldma: Fix cookie issues
        dma: cases IPU_PIX_FMT_BGRA32, BGR32 and ABGR32 are the same in ipu_ch_param_set_size()
        dma: make Open Firmware device id constant
        ...
      9bb67696
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 · 0f2cc4ec
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (52 commits)
        init: Open /dev/console from rootfs
        mqueue: fix typo "failues" -> "failures"
        mqueue: only set error codes if they are really necessary
        mqueue: simplify do_open() error handling
        mqueue: apply mathematics distributivity on mq_bytes calculation
        mqueue: remove unneeded info->messages initialization
        mqueue: fix mq_open() file descriptor leak on user-space processes
        fix race in d_splice_alias()
        set S_DEAD on unlink() and non-directory rename() victims
        vfs: add NOFOLLOW flag to umount(2)
        get rid of ->mnt_parent in tomoyo/realpath
        hppfs can use existing proc_mnt, no need for do_kern_mount() in there
        Mirror MS_KERNMOUNT in ->mnt_flags
        get rid of useless vfsmount_lock use in put_mnt_ns()
        Take vfsmount_lock to fs/internal.h
        get rid of insanity with namespace roots in tomoyo
        take check for new events in namespace (guts of mounts_poll()) to namespace.c
        Don't mess with generic_permission() under ->d_lock in hpfs
        sanitize const/signedness for udf
        nilfs: sanitize const/signedness in dealing with ->d_name.name
        ...
      
      Fix up fairly trivial (famous last words...) conflicts in
      drivers/infiniband/core/uverbs_main.c and security/tomoyo/realpath.c
      0f2cc4ec
    • L
      Merge git://git.infradead.org/battery-2.6 · 1fae4cfb
      Linus Torvalds 提交于
      * git://git.infradead.org/battery-2.6:
        power_supply: bq27x00: fix voltage and current units
        power_supply: bq27x00: add status and time properties
        power_supply: bq27x00: add BQ27500 support
        power_supply: bq27x00: fix temperature conversion
        power_supply: bq27x00: remove unused struct fields
        power_supply: bq27x00: remove double endian swap
        da9030_battery: fix spelling in comment
        wm97xx_battery: Clean up some warnings
      1fae4cfb
  5. 04 3月, 2010 28 次提交