]> Git Repo - linux.git/commitdiff
Merge with rsync://fileserver/linux
authorThomas Gleixner <[email protected]>
Sun, 26 Jun 2005 21:20:36 +0000 (23:20 +0200)
committerThomas Gleixner <[email protected]>
Sun, 26 Jun 2005 21:20:36 +0000 (23:20 +0200)
Update to Linus latest

1  2 
fs/Kconfig
fs/jffs2/background.c

diff --combined fs/Kconfig
index 475769c25d64a12406d909e5535856c239ff47ac,062177956239b1c25c6199579e9f72faecc21212..8d50a610c0e0bc34adcdc62f46fd55ab203e74d2
@@@ -50,6 -50,23 +50,23 @@@ config EXT2_FS_SECURIT
          If you are not using a security module that requires using
          extended attributes for file security labels, say N.
  
+ config EXT2_FS_XIP
+       bool "Ext2 execute in place support"
+       depends on EXT2_FS
+       help
+         Execute in place can be used on memory-backed block devices. If you
+         enable this option, you can select to mount block devices which are
+         capable of this feature without using the page cache.
+         If you do not use a block device that is capable of using this,
+         or if unsure, say N.
+ config FS_XIP
+ # execute in place
+       bool
+       depends on EXT2_FS_XIP
+       default y
  config EXT3_FS
        tristate "Ext3 journalling file system support"
        help
@@@ -717,6 -734,12 +734,12 @@@ config PROC_KCOR
        bool "/proc/kcore support" if !ARM
        depends on PROC_FS && MMU
  
+ config PROC_VMCORE
+         bool "/proc/vmcore support (EXPERIMENTAL)"
+         depends on PROC_FS && EMBEDDED && EXPERIMENTAL && CRASH_DUMP
+         help
+         Exports the dump image of crashed kernel in ELF format.
  config SYSFS
        bool "sysfs file system support" if EMBEDDED
        default y
  
        Designers of embedded systems may wish to say N here to conserve space.
  
- config DEVFS_FS
-       bool "/dev file system support (OBSOLETE)"
-       depends on EXPERIMENTAL
-       help
-         This is support for devfs, a virtual file system (like /proc) which
-         provides the file system interface to device drivers, normally found
-         in /dev. Devfs does not depend on major and minor number
-         allocations. Device drivers register entries in /dev which then
-         appear automatically, which means that the system administrator does
-         not have to create character and block special device files in the
-         /dev directory using the mknod command (or MAKEDEV script) anymore.
-         This is work in progress. If you want to use this, you *must* read
-         the material in <file:Documentation/filesystems/devfs/>, especially
-         the file README there.
-         Note that devfs no longer manages /dev/pts!  If you are using UNIX98
-         ptys, you will also need to mount the /dev/pts filesystem (devpts).
-         Note that devfs has been obsoleted by udev,
-         <http://www.kernel.org/pub/linux/utils/kernel/hotplug/>.
-         It has been stripped down to a bare minimum and is only provided for
-         legacy installations that use its naming scheme which is
-         unfortunately different from the names normal Linux installations
-         use.
-         If unsure, say N.
- config DEVFS_MOUNT
-       bool "Automatically mount at boot"
-       depends on DEVFS_FS
-       help
-         This option appears if you have CONFIG_DEVFS_FS enabled. Setting
-         this to 'Y' will make the kernel automatically mount devfs onto /dev
-         when the system is booted, before the init thread is started.
-         You can override this with the "devfs=nomount" boot option.
-         If unsure, say N.
- config DEVFS_DEBUG
-       bool "Debug devfs"
-       depends on DEVFS_FS
-       help
-         If you say Y here, then the /dev file system code will generate
-         debugging messages. See the file
-         <file:Documentation/filesystems/devfs/boot-options> for more
-         details.
-         If unsure, say N.
  config DEVPTS_FS_XATTR
        bool "/dev/pts Extended Attributes"
        depends on UNIX98_PTYS
@@@ -1063,18 -1036,26 +1036,18 @@@ config JFFS2_FS_DEBU
          If reporting bugs, please try to have available a full dump of the
          messages at debug level 1 while the misbehaviour was occurring.
  
 -config JFFS2_FS_NAND
 -      bool "JFFS2 support for NAND flash"
 +config JFFS2_FS_WRITEBUFFER
 +      bool "JFFS2 write-buffering support"
        depends on JFFS2_FS
 -      default n
 +      default y
        help
 -        This enables the support for NAND flash in JFFS2. NAND is a newer
 -        type of flash chip design than the traditional NOR flash, with
 -        higher density but a handful of characteristics which make it more
 -        interesting for the file system to use.
 +        This enables the write-buffering support in JFFS2.
  
 -        Say 'N' unless you have NAND flash.
 -
 -config JFFS2_FS_NOR_ECC
 -        bool "JFFS2 support for ECC'd NOR flash (EXPERIMENTAL)"
 -        depends on JFFS2_FS && EXPERIMENTAL
 -        default n
 -        help
 -          This enables the experimental support for NOR flash with transparent
 -          ECC for JFFS2. This type of flash chip is not common, however it is
 -          available from ST Microelectronics.
 +        This functionality is required to support JFFS2 on the following
 +        types of flash devices:
 +          - NAND flash
 +          - NOR flash with transparent ECC
 +          - DataFlash
  
  config JFFS2_COMPRESSION_OPTIONS
        bool "Advanced compression options for JFFS2"
@@@ -1310,6 -1291,7 +1283,7 @@@ config NFS_F
        depends on INET
        select LOCKD
        select SUNRPC
+       select NFS_ACL_SUPPORT if NFS_V3_ACL
        help
          If you are connected to some other (usually local) Unix computer
          (using SLIP, PLIP, PPP or Ethernet) and want to mount files residing
@@@ -1352,6 -1334,16 +1326,16 @@@ config NFS_V
  
          If unsure, say Y.
  
+ config NFS_V3_ACL
+       bool "Provide client support for the NFSv3 ACL protocol extension"
+       depends on NFS_V3
+       help
+         Implement the NFSv3 ACL protocol extension for manipulating POSIX
+         Access Control Lists.  The server should also be compiled with
+         the NFSv3 ACL protocol extension; see the CONFIG_NFSD_V3_ACL option.
+         If unsure, say N.
  config NFS_V4
        bool "Provide NFSv4 client support (EXPERIMENTAL)"
        depends on NFS_FS && EXPERIMENTAL
@@@ -1395,6 -1387,7 +1379,7 @@@ config NFS
        select LOCKD
        select SUNRPC
        select EXPORTFS
+       select NFS_ACL_SUPPORT if NFSD_V3_ACL || NFSD_V2_ACL
        help
          If you want your Linux box to act as an NFS *server*, so that other
          computers on your local network which support NFS can access certain
          To compile the NFS server support as a module, choose M here: the
          module will be called nfsd.  If unsure, say N.
  
+ config NFSD_V2_ACL
+       bool
+       depends on NFSD
  config NFSD_V3
        bool "Provide NFSv3 server support"
        depends on NFSD
          If you would like to include the NFSv3 server as well as the NFSv2
          server, say Y here.  If unsure, say Y.
  
+ config NFSD_V3_ACL
+       bool "Provide server support for the NFSv3 ACL protocol extension"
+       depends on NFSD_V3
+       select NFSD_V2_ACL
+       help
+         Implement the NFSv3 ACL protocol extension for manipulating POSIX
+         Access Control Lists on exported file systems. NFS clients should
+         be compiled with the NFSv3 ACL protocol extension; see the
+         CONFIG_NFS_V3_ACL option.  If unsure, say N.
  config NFSD_V4
        bool "Provide NFSv4 server support (EXPERIMENTAL)"
        depends on NFSD_V3 && EXPERIMENTAL
        select NFSD_TCP
+       select CRYPTO_MD5
+       select CRYPTO
        help
          If you would like to include the NFSv4 server as well as the NFSv2
          and NFSv3 servers, say Y here.  This feature is experimental, and
@@@ -1469,6 -1478,15 +1470,15 @@@ config LOCKD_V
  config EXPORTFS
        tristate
  
+ config NFS_ACL_SUPPORT
+       tristate
+       select FS_POSIX_ACL
+ config NFS_COMMON
+       bool
+       depends on NFSD || NFS_FS
+       default y
  config SUNRPC
        tristate
  
diff --combined fs/jffs2/background.c
index 65119d72cce0285cba5f7d147a3b37799e4db8aa,638836b277d444d36c07acc8284a0824e99769f2..0f224384f176fa1d529e9c3feb06d576de1b1096
@@@ -7,7 -7,7 +7,7 @@@
   *
   * For licensing information, see the file 'LICENCE' in this directory.
   *
 - * $Id: background.c,v 1.50 2004/11/16 20:36:10 dwmw2 Exp $
 + * $Id: background.c,v 1.54 2005/05/20 21:37:12 gleixner Exp $
   *
   */
  
@@@ -37,7 -37,7 +37,7 @@@ int jffs2_start_garbage_collect_thread(
        if (c->gc_task)
                BUG();
  
 -      init_MUTEX_LOCKED(&c->gc_thread_start);
 +      init_completion(&c->gc_thread_start);
        init_completion(&c->gc_thread_exit);
  
        pid = kernel_thread(jffs2_garbage_collect_thread, c, CLONE_FS|CLONE_FILES);
@@@ -48,7 -48,7 +48,7 @@@
        } else {
                /* Wait for it... */
                D1(printk(KERN_DEBUG "JFFS2: Garbage collect thread is pid %d\n", pid));
 -              down(&c->gc_thread_start);
 +              wait_for_completion(&c->gc_thread_start);
        }
   
        return ret;
  
  void jffs2_stop_garbage_collect_thread(struct jffs2_sb_info *c)
  {
 +      int wait = 0;
        spin_lock(&c->erase_completion_lock);
        if (c->gc_task) {
                D1(printk(KERN_DEBUG "jffs2: Killing GC task %d\n", c->gc_task->pid));
                send_sig(SIGKILL, c->gc_task, 1);
 +              wait = 1;
        }
        spin_unlock(&c->erase_completion_lock);
 -      wait_for_completion(&c->gc_thread_exit);
 +      if (wait)
 +              wait_for_completion(&c->gc_thread_exit);
  }
  
  static int jffs2_garbage_collect_thread(void *_c)
@@@ -78,7 -75,7 +78,7 @@@
        allow_signal(SIGCONT);
  
        c->gc_task = current;
 -      up(&c->gc_thread_start);
 +      complete(&c->gc_thread_start);
  
        set_user_nice(current, 10);
  
@@@ -95,7 -92,7 +95,7 @@@
                        schedule();
                }
  
-               if (try_to_freeze(0))
+               if (try_to_freeze())
                        continue;
  
                cond_resched();
This page took 0.090117 seconds and 4 git commands to generate.