1. 08 Jul, 2003 1 commit
  2. 07 Jul, 2003 25 commits
  3. 06 Jul, 2003 14 commits
    • Linus Torvalds's avatar
      Merge bk://cifs.bkbits.net/linux-2.5cifs · c7b0b16d
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      c7b0b16d
    • Steve French's avatar
      4947a1a3
    • Greg Ungerer's avatar
      [PATCH] conditional ROMfs copy for Cleopatra/5307 board · 020a2446
      Greg Ungerer authored
      Conditionally copy the ROMfs filesystem on the Cleopatra/5307
      target board only if using a ROMfs.
      020a2446
    • Andrew Morton's avatar
      [PATCH] BSD accounting speedup · d24d1d3a
      Andrew Morton authored
      From: Ingo Molnar <mingo@elte.hu>
      
      Most distributions turn on process accounting - but even the common
      'accounting is off' case is horrible SMP-scalability-wise: it accesses a
      global spinlock during every sys_exit() call, which bounces like mad on SMP
      (and NUMA) systems.
      
      (i also got rid of the unused return code.)
      d24d1d3a
    • Andrew Morton's avatar
      [PATCH] display bootserver in /proc/net/pnp · d029f790
      Andrew Morton authored
      From: "lode leroy" <lode_leroy@hotmail.com>
      
      I would like to submit a trivial enhancement to display the ip address of
      the bootserver in /proc/net/pnp
      
      This aids me in developing a diskless linux root image to know where it
      comes from...
      d029f790
    • Andrew Morton's avatar
      [PATCH] Module autoloading for quota · c132f143
      Andrew Morton authored
      From: Jan Kara <jack@suse.cz>
      
      This implements autoloading of quota modules. 
      c132f143
    • Andrew Morton's avatar
      [PATCH] xattr: fine-grained locking · 6abc05cc
      Andrew Morton authored
      From: Andreas Gruenbacher <agruen@suse.de>
      
      This patch removes the dependency on i_sem in the getxattr and
      listxattr iops of ext2 and ext3. In addition, the global ext[23]_xattr
      semaphores go away. Instead of i_sem and the global semaphore, mutual
      exclusion is now ensured by per-inode xattr semaphores, and by locking
      the buffers before modifying them. The detailed locking strategy is
      described in comments in fs/ext[23]/xattr.c.
      
      Due to this change it is no longer necessary to take i_sem in
      ext[23]_permission() for retrieving acls, so the
      ext[23]_permission_locked() functions go away.
      
      Additionally, the patch fixes a race condition in ext[23]_permission:
      Accessing inode->i_acl was protected by the BKL in 2.4; in 2.5 there no
      longer is such protection. Instead, inode->i_acl (and inode->i_default_acl)
      are now accessed under inode->i_lock. (This could be replaced by RCU in
      the future.)
      
      In the ext3 extended attribute code, an new uglines results from locking
      at the buffer head level: The buffer lock must be held between testing
      if an xattr block can be modified and the actual modification to prevent
      races from happening. Before a block can be modified,
      ext3_journal_get_write_access() must be called. But this requies an unlocked
      buffer, so I call ext3_journal_get_write_access() before locking the
      buffer. If it turns out that the buffer cannot be modified,
      journal_release_buffer() is called. Calling ext3_journal_get_write_access
      after the test but while the buffer is still locked would be much better.
      6abc05cc
    • Andrew Morton's avatar
      [PATCH] xattrr: preparation for fine-grained locking · 430cab6d
      Andrew Morton authored
      From: Andreas Gruenbacher <agruen@suse.de>
      
      Andrew Morton found that there is lock contention between extended
      attribute operations (like reading ACLs, which `ls -l' needs to do)
      and other operations on the same files. This is due to the fact that
      all extended attribute syscalls take inode->i_sem before calling into
      the filesystem code.
      
      To fix this problem, this patch no longer takes inode->i_sem in the
      getxattr and listxattr syscalls, and moves the lock taking code into
      the file systems. (Another patch improves the locking strategy in
      ext2 and ext3.)
      430cab6d
    • Andrew Morton's avatar
      [PATCH] xattr: update-in-place optimisation · a39afa31
      Andrew Morton authored
      From: Andreas Gruenbacher <agruen@suse.de>
      
      It is common to update extended attributes without changing the value's
      length. This patch optimizes this case. In addition to that, the current
      code tries to recognize early when extended attribute blocks become
      empty. This optimization is not of significant value, so this patch
      removes it, and moves the empty block test further down.
      a39afa31
    • Andrew Morton's avatar
      [PATCH] xattr: blockdev inode selection fix · 3edb027f
      Andrew Morton authored
      From: Andreas Gruenbacher <agruen@suse.de>
      
      The inode->i_bdev field is not the same as inode->i_sb->s_bdev or bh->b_bdev.
      We must compare inode->i_sb->s_bdev with bh->b_bdev, or else equal extended
      attribute block will not be found.
      3edb027f
    • Andrew Morton's avatar
      [PATCH] xattr: cleanups · 574dd596
      Andrew Morton authored
      From: From: Andreas Gruenbacher <agruen@suse.de>
      
      * Various minor cleanups and simplifications in the extended attributes
        and acl code.
      
      * Use a smarter shortcut rule in ext[23]_permission(): If the mask
        contains permissions that are not also contained in the group
        file mode permission bits, those permissions can never be granted by
        an acl. (The previous shortcut rule was more coarse.)
      574dd596
    • Andrew Morton's avatar
      [PATCH] proc_attr_lookup() fix · c3087712
      Andrew Morton authored
      From: Daniele Belluci <bellucda@tiscali.it>
      
      proc_attr_lookup() was missed out in Trond's conversion.  (It is behind
      CONFIG_SECURITY).
      c3087712
    • Andrew Morton's avatar
      [PATCH] breadahead() tweaks · 0b453423
      Andrew Morton authored
      - use ll_rw_block().
      
      - use READA
      
      - export it to modules.
      0b453423
    • Andrew Morton's avatar
      [PATCH] misc fixes · 114e04f2
      Andrew Morton authored
      - xfs printk warning fix (dev_t is ulong on ppc64)
      
      - unused var in serial_remove() (Daniele Bellucci <bellucda@tiscali.it>)
      114e04f2