Messages in this thread | | | Date | Thu, 31 Aug 2000 23:55:44 +0200 | From | Michael Riepe <> | Subject | Re: [NFS] [PATCH] Re: grow_inodes: inode-max limit reached - how to find/fix the inode leak? |
| |
On Thu, Aug 31, 2000 at 03:23:43PM +0200, Trond Myklebust wrote:
> Your patch does not seem correct to me. IMO you should rather be > calling nlm_release_file() in both cases where you applied > 'put_file()'.
No. In the first of two cases, lockd will call nlm_release_file() on its own when the function returns. In the second case, we're being called from inside nlm_traverse_files(), which holds a lock on the file table -- nlm_release_file() would wait forever.
-- Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de> "All I wanna do is have a little fun before I die" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |