]> git.hungrycats.org Git - linux/commit
[PATCH] Fix the sunrpc cache/reader management properly.
authorNeil Brown <neilb@cse.unsw.edu.au>
Tue, 5 Aug 2003 16:52:41 +0000 (09:52 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 5 Aug 2003 16:52:41 +0000 (09:52 -0700)
commit1c2a284f636b1af15d5dadb905aae8796bfa5b42
treebf98972a7475a40f8d10e15d5ae490264a9f0d22
parent2ed879ff5aa9a6e9270f3393e05c5d35f3941736
[PATCH] Fix the sunrpc cache/reader management properly.

A recent patch changed the rpc/*/channel files to behave
differently depending on whether they were open for read or not.

This hadn't been tested thoroughly.  The cache_reader structure
that was now only allocated when opening for read, had a field that
was iused when writing.

This patch removes that field and takes a different approach to solving
the issue it addressed.

And it has been tested a bit better.
net/sunrpc/cache.c