login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
21
Re: nfsv2 ref leak in 2.6.24?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Erez Zadok <ezk@...>
To: Trond Myklebust <trond.myklebust@...>
Cc: Erez Zadok <ezk@...>, <bfields@...>, <nfs@...>, <neilb@...>, <linux-kernel@...>
Subject:
Re: nfsv2 ref leak in 2.6.24?
Date: Sunday, October 21, 2007 - 6:18 pm
In message <1192985892.7505.32.camel@heimdal.trondhjem.org>, Trond Myklebust writes:
quoted text
> > On Sat, 2007-10-20 at 17:35 -0400, Erez Zadok wrote: > > > Trond, I verified that w/ the above patch the problem is w/ nfs: the client > > leaves .nfsXXX files behind for every file unlinked while open. Let me know > > when you get a fix and I'll test it. > > Doh... Another typo. > > Trond > -------------------------- CUT HERE -------------------- > From: Trond Myklebust <Trond.Myklebust@netapp.com> > Date: Sun, 21 Oct 2007 12:02:22 -0400 > NFS: Fix a typo in nfs_call_unlink() > > Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> > --- > > fs/nfs/unlink.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c > index ce558c2..233ad38 100644 > --- a/fs/nfs/unlink.c > +++ b/fs/nfs/unlink.c > @@ -171,7 +171,7 @@ static int nfs_call_unlink(struct dentry *dentry, struct nfs_unlinkdata *data) > if (parent == NULL) > goto out_free; > dir = parent->d_inode; > - if (nfs_copy_dname(dentry, data) == 0) > + if (nfs_copy_dname(dentry, data) != 0) > goto out_dput; > /* Non-exclusive lock protects against concurrent lookup() calls */ > spin_lock(&dir->i_lock);
With this patch, all my nfs2/3/4 tests passed just fine. Thanks, Erez. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
nfsv2 ref leak in 2.6.24?
, Erez Zadok
, (Fri Oct 19, 1:49 am)
Re: nfsv2 ref leak in 2.6.24?
, Trond Myklebust
, (Fri Oct 19, 9:41 am)
Re: nfsv2 ref leak in 2.6.24?
, Erez Zadok
, (Fri Oct 19, 5:40 pm)
Re: nfsv2 ref leak in 2.6.24?
, Trond Myklebust
, (Fri Oct 19, 5:52 pm)
Re: nfsv2 ref leak in 2.6.24?
, Erez Zadok
, (Fri Oct 19, 10:33 pm)
Re: nfsv2 ref leak in 2.6.24?
, Trond Myklebust
, (Sat Oct 20, 1:12 pm)
Re: nfsv2 ref leak in 2.6.24?
, Erez Zadok
, (Sat Oct 20, 3:04 pm)
Re: nfsv2 ref leak in 2.6.24?
, Erez Zadok
, (Sat Oct 20, 5:35 pm)
Re: nfsv2 ref leak in 2.6.24?
, Trond Myklebust
, (Sun Oct 21, 12:58 pm)
Re: nfsv2 ref leak in 2.6.24?
, Erez Zadok
, (Sun Oct 21, 6:18 pm)
Re: nfsv2 ref leak in 2.6.24?
, Erez Zadok
, (Fri Oct 19, 6:59 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
monstr
[PATCH 11/60] microblaze_v4: cache support
Andrew Morton
Re: x86: 4kstacks default
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Ben Hutchings
Re: [GIT]: Networking
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Jiri Olsa
[PATCHv5 0/2] net: fix race in the receive/select
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
586 guests
online.
Syndicate