commit | 2c6b691c05bf77c4bc7c9f1a9b6d93a160928421 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Mon Feb 04 08:18:04 2013 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Feb 04 17:19:11 2013 -0500 |
tree | 298eb991a69be4a86aae6c3396dec27ff0122c52 | |
parent | 13cc8a78e89db0469e67ac9b3ae466b661af93fa [diff] |
nfsd: when updating an entry with RC_NOCACHE, just free it There's no need to keep entries around that we're declaring RC_NOCACHE. Ditto if there's a problem with the entry. With this change too, there's no need to test for RC_UNUSED in the search function. If the entry's in the hash table then it's either INPROG or DONE. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>