1. 06 2月, 2007 2 次提交
    • A
      [GFS2/DLM] fix GFS2 circular dependency · 00117277
      Adrian Bunk 提交于
      On Sun, Jan 28, 2007 at 11:08:18AM +0100, Jiri Slaby wrote:
      > Andrew Morton napsal(a):
      > >Temporarily at
      > >
      > >	http://userweb.kernel.org/~akpm/2.6.20-rc6-mm1/
      >
      > Unable to select IPV6. Menuconfig doesn't offer it when INET is selected.
      > When it's not it appears in the menu, but after state change it gets away.
      > The same behaviour in xconfig, gconfig.
      >
      > $ mkdir ../a/tst
      > $ make O=../a/tst menuconfig
      >   HOSTCC  scripts/basic/fixdep
      > [...]
      >   HOSTLD  scripts/kconfig/mconf
      > scripts/kconfig/mconf arch/i386/Kconfig
      > Warning! Found recursive dependency: INET GFS2_FS_LOCKING_DLM SYSFS
      > OCFS2_FS INET
      >
      > Maybe this is the problem?
      
      Yes, patch below.
      
      > regards,
      
      cu
      Adrian
      
      <--  snip  -->
      
      This patch fixes a circular dependency by letting GFS2_FS_LOCKING_DLM
      and DLM depend on instead of select SYSFS.
      
      Since SYSFS depends on EMBEDDED this change shouldn't cause any problems
      for users.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      00117277
    • R
      [GFS2/DLM] use sysfs · 67f55897
      Randy Dunlap 提交于
      With CONFIG_DLM=m, CONFIG_PROC_FS=n, and CONFIG_SYSFS=n, kernel build
      fails with:
      
      WARNING: "kernel_subsys" [fs/gfs2/locking/dlm/lock_dlm.ko] undefined!
      WARNING: "kernel_subsys" [fs/dlm/dlm.ko] undefined!
      WARNING: "kernel_subsys" [fs/configfs/configfs.ko] undefined!
      make[1]: *** [__modpost] Error 1
      make: *** [modules] Error 2
      
      Since fs/dlm/lockspace.c and fs/gfs2/locking/dlm/sysfs.c use
      kernel_subsys, they should either DEPEND on it or SELECT it.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      67f55897
  2. 16 12月, 2006 1 次提交
    • S
      [GFS2] Fix Kconfig · 1003f069
      Steven Whitehouse 提交于
      Here is a patch to fix up the Kconfig so that we don't land up with
      problems when people disable the NET subsystem.  Thanks for all the hints and
      suggestions that people have sent me regarding this.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      Cc: Aleksandr Koltsoff <czr@iki.fi>
      Cc: Toralf Förster <toralf.foerster@gmx.de>
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Cc: Adrian Bunk <bunk@stusta.de>
      Cc: Chris Zubrzycki <chris@middle--earth.org>
      Cc: Patrick Caulfield <pcaulfie@redhat.com>
      1003f069
  3. 30 11月, 2006 1 次提交
  4. 23 6月, 2006 1 次提交
  5. 25 4月, 2006 1 次提交
    • S
      [GFS2] Tidy up Makefile & Kconfig · b5ea3e1e
      Steven Whitehouse 提交于
      Remove select of SYSFS as requested by Greg KH. Change whitespace to
      tabs rather than spaces in places where it was incorrect and removed
      'default m' as suggested by Adrian Bunk.
      
      Reorganised Makefile as suggested by Sam Ravnborg.
      
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Adrian Bunk <bunk@stusta.de>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      b5ea3e1e
  6. 17 1月, 2006 1 次提交