1. 11 May, 2004 5 commits
    • Maneesh Soni's avatar
      [PATCH] kobject/sysfs race fix · 427ac533
      Maneesh Soni authored
      The following patch fixes the race involved between unregistering a kobject
      and simultaneously opeing a corresponding attribute file in sysfs.
      
      Ideally sysfs should take a ref.  to the kobject as long as it has dentries
      referring to the kobjects, but because of current limitations in
      module/kobject ref counting, sysfs's pinning of kobject leads to
      hang/delays in rmmod of certain modules.  The patch checks for unhashed
      dentries in check_perm() while opening a sysfs file.  If the dentry is
      still hashed then it goes ahead and takes the ref to kobject.  This done
      under the per dentry lock.  It does this in the inline routine
      sysfs_get_kobject(dentry).
      427ac533
    • James Bottomley's avatar
    • Maneesh Soni's avatar
      [PATCH] kobject_set_name - error handling · ab7f7331
      Maneesh Soni authored
      1) kobject_set_name-cleanup-01.patch
      
      This patch corrects the following by checking the reutrn code from
      kobject_set_name().
      
      bus_add_driver()
      bus_register()
      sys_dev_register()
      
      
      
      o The following patch cleansup the kobject_set_name() users. Basically checking
        return code from kobject_set_name(). There can be error returns like -ENOMEM
        or -EFAULT from kobject_set_name() if the name length exceeds KOBJ_NAME_LEN.
      ab7f7331
    • Hanna V. Linder's avatar
      [PATCH] Add class support to drivers/net/wan/cosa.c · e15f75b5
      Hanna V. Linder authored
      This patch adds sysfs class support to the Cosa driver. I have verified it
      compiles but do not have the hardware to test it. If someone could that
      would be helpful.
      e15f75b5
    • Greg Kroah-Hartman's avatar
      Module attributes: fix build error if CONFIG_MODULE_UNLOAD=n · 31c4141f
      Greg Kroah-Hartman authored
      Thanks to Andrew Morton for pointing this out to me.
      31c4141f
  2. 07 May, 2004 1 commit
    • Greg Kroah-Hartman's avatar
      Add modules to sysfs · b863a25d
      Greg Kroah-Hartman authored
      This patch adds basic kobject support to struct module, and it creates a 
      /sys/module directory which contains all of the individual modules.  Each
      module currently exports the refcount (if they are unloadable) and any
      module paramaters that are marked exportable in sysfs.
      
      Was written by me and Rusty over and over many times during the past 6 months.
      b863a25d
  3. 05 May, 2004 2 commits
  4. 04 May, 2004 1 commit
  5. 02 May, 2004 6 commits
  6. 28 Apr, 2004 5 commits
  7. 29 Apr, 2004 5 commits
  8. 28 Apr, 2004 9 commits
    • Andrew Morton's avatar
      [PATCH] ppc32: Update Motorola PrPMC750 support · abfd7fc4
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      This patch updates support for the Motorola PrPMC750 platform.  Most of the
      size in this patch comes from merging prpmc750_pci.c and prpmc750_setup.c into
      just prpmc750.c.
      abfd7fc4
    • Andrew Morton's avatar
      [PATCH] ppc32: Add openpic_hookup_cascade() · 6c4f928b
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      This patch adds openpic_hookup_cascade(offset, name, handler) which allows for
      an arbitrary interrupt controller to be hooked up as a cascade to the openpic.
       This also allows for platforms to just not have a cascaded controller.
      6c4f928b
    • Andrew Morton's avatar
      [PATCH] ppc32: Update SBS K2 support · 9be15f90
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      This patch updates support for the SBS K2 platform.  Most of the size in this
      patch comes from merging k2_pci.c and k2_setup.c into just k2.c.
      9be15f90
    • Andrew Morton's avatar
      [PATCH] fix warning in arch/ppc/boot/simple/misc.c · 3e0dd373
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      asm-ppc/elf.h uses a pointer to struct task_struct without any
      forward-declaration.
      
      In file included from include/linux/elf.h:5,
                       from arch/ppc/boot/simple/misc.c:20:
      include/asm/elf.h:102: warning: `struct task_struct' declared inside parameter list
      include/asm/elf.h:102: warning: its scope is only this definition or declaration, which is probably not what you want
      3e0dd373
    • Andrew Morton's avatar
      [PATCH] Fix thinkos in #if -> #ifdef conversions #2 · caff0e5e
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      And when trying to catch up on old patches, I forgot this hunk:
      caff0e5e
    • Nathan Scott's avatar
    • Andrew Morton's avatar
      [PATCH] Fix thinkos in #if -> #ifdef conversions · 95c06313
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      When I changed some '#if FOO' tests to '#ifdef FOO' I forgot to make sure
      that nothing was doing #define FOO 0.  So after auditing all of the changes
      I made, the following is needed:
      95c06313
    • Andrew Morton's avatar
      [PATCH] ppc64: Set memory-only nodes online · f6364f27
      Andrew Morton authored
      From: Olof Johansson <olof@austin.ibm.com>
      
      On pSeries LPARs we might end up with NUMA nodes that only have memory and
      no CPUs.  Only the CPU configuration code actually set a node online, so
      memory-only nodes wouldn't show up in sysfs.  Below patch adds the
      set_online call to the memory loop too.
      f6364f27
    • Andrew Morton's avatar
      [PATCH] fix warning in fs/dquot.c · aa995aac
      Andrew Morton authored
      From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>
      
      fs/dquot.c: In function `vfs_quota_off':
      fs/dquot.c:1328: warning: label `out' defined but not used
      aa995aac
  9. 27 Apr, 2004 6 commits