public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.28.x FIX] CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK
@ 2009-06-11  2:40 Tomáš Szépe
  2009-06-11  2:46 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Szépe @ 2009-06-11  2:40 UTC (permalink / raw)
  To: gregkh, linux-kernel

Hello,

Fix: CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK.
Patch against 2.6.28.10.

inlined please find a trivial fix that makes it possible to run
complete systems out of an initramfs on 2.6.28.10 again (this
broke somewhere between 2.6.27 and 2.6.28).

-- 
Tomáš Szépe <szepe@pinerecords.com>

diff -urN a/fs/Kconfig b/fs/Kconfig
--- a/fs/Kconfig	2008-12-25 00:26:37 +0100
+++ b/fs/Kconfig	2009-06-11 04:23:12 +0200
@@ -172,14 +172,6 @@
 	bool
 	default n
 
-config FILE_LOCKING
-	bool "Enable POSIX file locking API" if EMBEDDED
-	default y
-	help
-	  This option enables standard file locking support, required
-          for filesystems like NFS and for the flock() system
-          call. Disabling this option saves about 11k.
-
 source "fs/xfs/Kconfig"
 source "fs/gfs2/Kconfig"
 
@@ -270,6 +262,14 @@
 
 endif # BLOCK
 
+config FILE_LOCKING
+	bool "Enable POSIX file locking API" if EMBEDDED
+	default y
+	help
+	  This option enables standard file locking support, required
+          for filesystems like NFS and for the flock() system
+          call. Disabling this option saves about 11k.
+
 config DNOTIFY
 	bool "Dnotify support"
 	default y

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [2.6.28.x FIX] CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK
  2009-06-11  2:40 [2.6.28.x FIX] CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK Tomáš Szépe
@ 2009-06-11  2:46 ` Greg KH
  2009-06-11  3:07   ` Tomáš Szépe
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2009-06-11  2:46 UTC (permalink / raw)
  To: Tomáš Szépe; +Cc: linux-kernel

On Thu, Jun 11, 2009 at 04:40:19AM +0200, Tomáš Szépe wrote:
> Hello,
> 
> Fix: CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK.
> Patch against 2.6.28.10.
> 
> inlined please find a trivial fix that makes it possible to run
> complete systems out of an initramfs on 2.6.28.10 again (this
> broke somewhere between 2.6.27 and 2.6.28).

2.6.28 is no longer supported, sorry.

Is this an issue in 2.6.29 or 2.6.30?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [2.6.28.x FIX] CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK
  2009-06-11  2:46 ` Greg KH
@ 2009-06-11  3:07   ` Tomáš Szépe
  2009-06-11  3:49     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Szépe @ 2009-06-11  3:07 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

> > Fix: CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK.
> > Patch against 2.6.28.10.
> > 
> > inlined please find a trivial fix that makes it possible to run
> > complete systems out of an initramfs on 2.6.28.10 again (this
> > broke somewhere between 2.6.27 and 2.6.28).
> 
> 2.6.28 is no longer supported, sorry.
> Is this an issue in 2.6.29 or 2.6.30?

Yes.  I also sent a patch (in a separate email) that applies
on 2.6.29.x, 2.6.30.x, and current git master branch head.

Best regards,
-- 
Tomáš Szépe <szepe@pinerecords.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [2.6.28.x FIX] CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK
  2009-06-11  3:07   ` Tomáš Szépe
@ 2009-06-11  3:49     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2009-06-11  3:49 UTC (permalink / raw)
  To: Tomáš Szépe; +Cc: linux-kernel

On Thu, Jun 11, 2009 at 05:07:59AM +0200, Tomáš Szépe wrote:
> > > Fix: CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK.
> > > Patch against 2.6.28.10.
> > > 
> > > inlined please find a trivial fix that makes it possible to run
> > > complete systems out of an initramfs on 2.6.28.10 again (this
> > > broke somewhere between 2.6.27 and 2.6.28).
> > 
> > 2.6.28 is no longer supported, sorry.
> > Is this an issue in 2.6.29 or 2.6.30?
> 
> Yes.  I also sent a patch (in a separate email) that applies
> on 2.6.29.x, 2.6.30.x, and current git master branch head.

Ah, ok, I see that now, sorry for getting ahead.

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-11  4:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-11  2:40 [2.6.28.x FIX] CONFIG_FILE_LOCKING should not depend on CONFIG_BLOCK Tomáš Szépe
2009-06-11  2:46 ` Greg KH
2009-06-11  3:07   ` Tomáš Szépe
2009-06-11  3:49     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox