1. 12 Dec, 2007 3 commits
    • Trond Myklebust's avatar
      MAINTAINERS: update the NFS CLIENT entry · 78f58153
      Trond Myklebust authored
      
      Add in the new NFS mailing list on vger, website, and git tree info, and
      update my email address to reflect the fact that I've been working for
      netapp for the past 2 years.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      78f58153
    • Trond Myklebust's avatar
      NFS: Fix an Oops in NFS unmount · a10db50a
      Trond Myklebust authored
      
      Ensure that the dummy 'root dentry' is invisible to d_find_alias(). If not,
      then it may be spliced into the tree if a parent directory from the same
      filesystem gets mounted at a later time.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      a10db50a
    • Trond Myklebust's avatar
      Revert "NFS: Ensure we return zero if applications attempt to write zero bytes" · a5576cfa
      Trond Myklebust authored
      This reverts commit b9148c6b.
      
      On Wed, 12 Dec 2007 10:57:30 -0500, Chuck Lever wrote
      > commit b9148c6b should be reverted.  It was recently forward-ported
      > from some years-old patches, and is clearly not needed now.
      >
      > On Dec 11, 2007, at 5:21 PM, Adrian Bunk wrote:
      >
      >> This code became dead after commit
      >> b9148c6b
      
      
      >> (which BTW doesn't seem to have changed any behaviour) and can
      >> therefore
      >> be removed.
      >>
      >> Spotted by the Coverity checker.
      >>
      >> Signed-off-by: Adrian Bunk <bunk@kernel.org>
      >>
      >> ---
      >> --- linux-2.6/fs/nfs/direct.c.old     2007-12-02 21:54:53.000000000 +0100
      >> +++ linux-2.6/fs/nfs/direct.c 2007-12-02 21:55:10.000000000 +0100
      >> @@ -897,15 +897,12 @@ ssize_t nfs_file_direct_write(struct kio
      >>       if (!count)
      >>               goto out;       /* return 0 */
      >>
      >>       retval = -EINVAL;
      >>       if ((ssize_t) count < 0)
      >>               goto out;
      >> -     retval = 0;
      >> -     if (!count)
      >> -             goto out;
      >>
      >>       retval = nfs_sync_mapping(mapping);
      >>       if (retval)
      >>               goto out;
      >>
      >>       retval = nfs_direct_write(iocb, iov, nr_segs, pos, count);
      >>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      a5576cfa
  2. 11 Dec, 2007 16 commits
  3. 10 Dec, 2007 21 commits