1. 19 Feb, 2002 17 commits
  2. 18 Feb, 2002 23 commits
    • Ingo Molnar's avatar
      e6cf995f
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/mochel/BK/linux-2.5 · cd566b34
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      cd566b34
    • Stelian Pop's avatar
      [PATCH] meye driver update · 4cb41595
      Stelian Pop authored
      This patch (+ BK changeset) converts the meye driver to the new DMA API,
      this is necessary for the driver to be used in 2.5. 
      
      Stelian.
      
      ChangeSet@1.332, 2002-02-15 16:35:31+01:00, stelian@popies.net
        Convert to the new DMA API and allocate separate DMA pages instead of one big buffer.
      4cb41595
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/dalecki · 3ec6551a
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      3ec6551a
    • Martin Dalecki's avatar
      [PATCH] PATCH 2.5.5-pre1 dead arrays. · 72083826
      Martin Dalecki authored
      Just the usual removal of the dead global arrays and associated cruft.
      (Thistime not affecting lvm, which BTW. doesn't compile currently anyway
      ;-).
      72083826
    • Martin Dalecki's avatar
      [PATCH] Re: IDE cleanup for 2.5.4-pre3 · 5191903e
      Martin Dalecki authored
      The end_request() function familiy (not the global one, but the IDE
      specific ones), did bear a permuted parameter ordering.  After fixing
      this it turned out that at all places the huk parameter wasn't the
      hwgroup, but just the drive in question itself.  I have changed this to
      be more sane, which allowed to remove many unneccessary code
      duplication, or rather obfuscation, in between the __ide_end_request()
      and ide_end_request() functions.  This simplification is actually the
      "spreading" part of the game. 
      5191903e
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/morton · 2796576e
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      2796576e
    • Andrew Morton's avatar
      [PATCH] ENOSPC correctness · 071c9b22
      Andrew Morton authored
      A forward-port.  This is the code which prevents ENOSPC
      errors from exposing stale data within filesystems.
      
      - in generic_file_write(), if prepare_write() fails, truncate
        the file to drop any part-added blocks.
      
      - in __block_write_full_page(), if we hit an error,  push
        whatever buffers we _have_ mapped into the file out to disk.
      
      - in __block_prepare_write(), if we hit an error, zero out
        any blocks which we did manage to map into the file.  This
        is because the caller won't be doing any writing to those
        blocks due to the error.
      071c9b22
    • Andrew Morton's avatar
      [PATCH] msync correctness · 1c000719
      Andrew Morton authored
      A forward port.  At present, msync() does not report errors
      from EIO or ENOSPC.  fsync() has the same bug for mapped pages
      against the affected fd.
      
      The patch correctly propagates these errors back up from
      writepage so that fsync and msync correctly report errors.
      
      It's fairly important - msync is the only way we have
      of reporting ENOSPC against sparse mappings.
      
      Of course, you can still silently lose your data if it's kswapd who
      gets ENOSPC during writepage.  I have 3/4 of a patch for that.  It
      records the data loss so that a later msync() will report the bad
      news.
      
      This patch also adds an implementation of msync(MS_ASYNC), because
      it was easy.
      1c000719
    • Andrew Morton's avatar
      [PATCH] IS_SYNC diretory handling · 6c5e0f13
      Andrew Morton authored
      A forward-port.  ext2, minix and sysv aren't handling directories
      correctly when IS_SYNC is in place.  They call waitfor_one_page(),
      but forgot to start the I/O.
      
      The patch also moves waitfor_one_page and writeout_one_page
      into fs/buffer.c, so mm/filemap.c now does not mention buffer_head
      at all.
      6c5e0f13
    • Andrew Morton's avatar
      [PATCH] BUG register preservation · 98d809e7
      Andrew Morton authored
      Here's the x86 BUG() implementation we discussed the other day.
      
      I also have the rework of the header files which avoids
      instantiation of strings in headers and saves 100-200k.
      However that is only needed for gcc 2.X.  I assume that
      by the time 2.6 is in use, gcc-3.x will be the preferred
      compiler.
      98d809e7
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/knfsd · acb977dc
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      acb977dc
    • Neil Brown's avatar
      [PATCH] PATCH 7/7: knfsd cleanups - module initialisation · c0d68f59
      Neil Brown authored
      Tidyup init/exit for nfsd module
      
      move nfsd_init into an initcall with other module
      startup.  This means that "initialized" isn't needed for
      any of the files that use it, as the bits are always initialised if
      in use.
      c0d68f59
    • Neil Brown's avatar
      [PATCH] PATCH 6/7: knfsd cleanups - syscall cleanup · ff820210
      Neil Brown authored
      Cleanup the syscall interface to nfsd
      
      1/ add an "owner" field to the nfsd_linkage structure
      2/ grab a reference to that module before calling the syscall
      3/ Remove the reference counting from inside the module
      4/ Always allow nfsd module to be called, even if compile with
      	CONFIG_NFSD == N
         ( but not if CONFIG_MODULES also == N)
      ff820210
    • Neil Brown's avatar
      [PATCH] PATCH 5/7: knfsd cleanups - mkdev · c4dd7702
      Neil Brown authored
      Use MKDEV for making device number from components
      
      This patch is thanks to GOTO Masanori <gotom@debian.or.jp>
      c4dd7702
    • Neil Brown's avatar
      [PATCH] PATCH 4/7: knfsd cleanups - vfs.c improvements · dda8a81e
      Neil Brown authored
      Tidy up some vfs calls in nfsd
      
      1/ changes to sys_fsync had not also been made to nfsd_sync.
         Now nfsd_sync calls filemap_fdatasync and filemap_fdatawait.
      2/ change nfsd_readdir to use vfs_readdir instead of i_op->readdir
      dda8a81e
    • Neil Brown's avatar
      [PATCH] PATCH 3/7: knfsd cleanups - incorrect use of inode_change_ok · c5d13553
      Neil Brown authored
      Get nfsd_setattr to not put too much weight on inode_change_ok
      
      nfsd_currently calls inode_change_ok and does not try setattr if this fails.
      However this is wrong.  If a filesystem defines it's own i_op->setattr, then
      it might use a completely different mechanisim for determining what is ok.
      nfsd shouldn't assume...
      
      We still use inode_change_ok when normalising NFSv2 "touch" requests, but
      only in passing.
      c5d13553
    • Neil Brown's avatar
      [PATCH] PATCH 2/7: knfsd cleanup - FAT shouldn't return NULL · 93c93658
      Neil Brown authored
      Stop fat_fh_to_dentry returning NULL
      
      the fh_to_dentry routines should never return NULL.
      The caller expects an ERR_PTR or a valid (possibly negative)
      dentry.  fat did the wrong thing and so could oops.
      93c93658
    • Neil Brown's avatar
      [PATCH] PATCH 1/7: knfsd cleanups - big fixes · 2712419f
      Neil Brown authored
      Fix bugs recently introduced into kNFSd
      
      When searching a list.h list, we cannot export
      to find NULL at the end.  Instead we return a pointer
      when found, or NULL if nothing found.  Same bug, 4 times.
      
      The seq_file improvements to /proc/fs/nfs/exports got the counting
      wrong so that some clients would get reported twice, always the last.
      2712419f
    • Alexander Viro's avatar
      [PATCH] dnotify race fix · 222099f6
      Alexander Viro authored
      	A bunch of places dereferences ->d_parent->d_inode with no
      protection whatsoever (e.g. on return from read()).  It's an
      SMP race on all boxen and pretty wide UP race if we have dnotify
      set on parent (race between read() and rename() and similar beasts).
      
      	Patch below is the first one in a series of ->d_parent-related
      fixes.  It adds a helper (dnotify_parent(dentry, event)) and converts
      places that did inode_dir_notify(dentry->d_parent->d_inode,...) to it.
      
      	Please, apply.  Notice that problem exists in 2.4 and unlike 2.5
      there we can't switch to saner API (basically, reporting file events on
      file, not on a parent directory).
      
      Some of the further fixes depend on Pat's and Greg's (driverfs and usbdevfs
      resp.) patches, so getting them merged would make life easier.  And yes,
      some of further chunks (e.g. smbfs ->revalidate() and friends) will also
      have to go into 2.4 - they are independent from any threading projects ;-/
      222099f6
    • Alexander Viro's avatar
      [PATCH] BKL shifting - ->rename() · cb625b80
      Alexander Viro authored
      cb625b80
    • Robert Love's avatar
      [PATCH] Re: [PATCH] Re: 2.5: further llseek cleanup (3/3) · a9b979a5
      Robert Love authored
      Ugh, another one.  Linus, please apply.
      
      	Robert Love
      a9b979a5
    • Robert Love's avatar
      3aa909ab