1. 27 Sep, 2010 7 commits
  2. 26 Sep, 2010 1 commit
  3. 23 Sep, 2010 1 commit
  4. 22 Sep, 2010 6 commits
  5. 21 Sep, 2010 4 commits
  6. 20 Sep, 2010 2 commits
    • J. Bruce Fields's avatar
      nfsd4: fix hang on fast-booting nfs servers · 06497524
      J. Bruce Fields authored
      The last_close field of a cache_detail is initialized to zero, so the
      condition
      
      	detail->last_close < seconds_since_boot() - 30
      
      may be false even for a cache that was never opened.
      
      However, we want to immediately fail upcalls to caches that were never
      opened: in the case of the auth_unix_gid cache, especially, which may
      never be opened by mountd (if the --manage-gids option is not set), we
      want to fail the upcall immediately.  Otherwise client requests will be
      dropped unnecessarily on reboot.
      
      Also document these conditions.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      06497524
    • J. Bruce Fields's avatar
      Merge remote branch 'trond/bugfixes' into for-2.6.37 · c88739b3
      J. Bruce Fields authored
      Without some client-side fixes, server testing is currently difficult.
      c88739b3
  7. 12 Sep, 2010 12 commits
  8. 11 Sep, 2010 7 commits
    • Randy Dunlap's avatar
      docbook: skip files with no docs since they generate scary warnings · 39d70939
      Randy Dunlap authored
      Fix docbook templates that reference files that do not contain the
      expected kernel-doc notation.
      
      Fixes these warnings:
      
        Warning(arch/x86/include/asm/unaligned.h): no structured comments found
        Warning(lib/vsprintf.c): no structured comments found
      
      These cause errors in the generated html output, like below, so drop
      these lines.
      
        Name
        arch/x86/include/asm/unaligned.h - Document generation inconsistency
        Oops
        Warning
        The template for this document tried to insert the structured comment from the file arch/x86/include/asm/unaligned.h at this point, but none was found. This dummy section is inserted to allow generation to continue.
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      39d70939
    • Johannes Berg's avatar
      docbook: warn on unused doc entries · eda603f6
      Johannes Berg authored
      When you don't use !E or !I but only !F, then it's very easy to miss
      including some functions, structs etc.  in documentation.  To help
      finding which ones were missed, allow printing out the unused ones as
      warnings.
      
      For example, using this on mac80211 yields a lot of warnings like this:
      
        Warning: didn't use docs for DOC: mac80211 workqueue
        Warning: didn't use docs for ieee80211_max_queues
        Warning: didn't use docs for ieee80211_bss_change
        Warning: didn't use docs for ieee80211_bss_conf
      
      when generating the documentation for it.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      eda603f6
    • Johannes Berg's avatar
      kernel-doc: ignore case when stripping attributes · 1f3a6688
      Johannes Berg authored
      There are valid attributes that could have upper case letters, but we
      still want to remove, like for example
      	__attribute__((aligned(NETDEV_ALIGN)))
      as encountered in the wireless code.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1f3a6688
    • Linus Torvalds's avatar
      Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6 · 84e1d836
      Linus Torvalds authored
      * 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
        PM / Hibernate: Avoid hitting OOM during preallocation of memory
        PM QoS: Correct pr_debug() misuse and improve parameter checks
        PM: Prevent waiting forever on asynchronous resume after failing suspend
      84e1d836
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 · 20f4cad6
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
        [SCSI] fix use-after-free in scsi_init_io()
        [SCSI] sd: fix medium-removal bug
        [SCSI] qla2xxx: Update version number to 8.03.04-k0.
        [SCSI] qla2xxx: Check for empty slot in request queue before posting Command type 6 request.
        [SCSI] qla2xxx: Cover UNDERRUN case where SCSI status is set.
        [SCSI] qla2xxx: Correctly set fw hung and complete only waiting mbx.
        [SCSI] qla2xxx: Reset seconds_since_last_heartbeat correctly.
        [SCSI] qla2xxx: make rport deletions explicit during vport removal
        [SCSI] qla2xxx: Fix vport delete issues
        [SCSI] sd, sym53c8xx: Remove warnings after vsprintf %pV introducation.
        [SCSI] Fix warning: zero-length gnu_printf format string
        [SCSI] hpsa: disable doorbell reset on reset_devices
        [SCSI] be2iscsi: Fix for Login failure
        [SCSI] fix bio.bi_rw handling
      20f4cad6
    • Rafael J. Wysocki's avatar
      PM / Hibernate: Avoid hitting OOM during preallocation of memory · 6715045d
      Rafael J. Wysocki authored
      There is a problem in hibernate_preallocate_memory() that it calls
      preallocate_image_memory() with an argument that may be greater than
      the total number of available non-highmem memory pages.  If that's
      the case, the OOM condition is guaranteed to trigger, which in turn
      can cause significant slowdown to occur during hibernation.
      
      To avoid that, make preallocate_image_memory() adjust its argument
      before calling preallocate_image_pages(), so that the total number of
      saveable non-highem pages left is not less than the minimum size of
      a hibernation image.  Change hibernate_preallocate_memory() to try to
      allocate from highmem if the number of pages allocated by
      preallocate_image_memory() is too low.
      
      Modify free_unnecessary_pages() to take all possible memory
      allocation patterns into account.
      Reported-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Tested-by: default avatarM. Vefa Bicakci <bicave@superonline.com>
      6715045d
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 002e473d
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (28 commits)
        ipheth: remove incorrect devtype to WWAN
        MAINTAINERS: Add CAIF
        sctp: fix test for end of loop
        KS8851: Correct RX packet allocation
        udp: add rehash on connect()
        net: blackhole route should always be recalculated
        ipv4: Suppress lockdep-RCU false positive in FIB trie (3)
        niu: Fix kernel buffer overflow for ETHTOOL_GRXCLSRLALL
        ipvs: fix active FTP
        gro: Re-fix different skb headrooms
        via-velocity: Turn scatter-gather support back off.
        ipv4: Fix reverse path filtering with multipath routing.
        UNIX: Do not loop forever at unix_autobind().
        PATCH: b44 Handle RX FIFO overflow better (simplified)
        irda: off by one
        3c59x: Fix deadlock in vortex_error()
        netfilter: discard overlapping IPv6 fragment
        ipv6: discard overlapping fragment
        net: fix tx queue selection for bridged devices implementing select_queue
        bonding: Fix jiffies overflow problems (again)
        ...
      
      Fix up trivial conflicts due to the same cgroup API thinko fix going
      through both Andrew and the networking tree.  However, there were small
      differences between the two, with Andrew's version generally being the
      nicer one, and the one I merged first. So pick that one.
      
      Conflicts in: include/linux/cgroup.h and kernel/cgroup.c
      002e473d