commit | fc401e697f8c00ad1178a6758e86e3881dfa3181 | [log] [tgz] |
---|---|---|
author | Pete Zaitcev <zaitcev@redhat.com> | Mon Aug 13 22:50:13 2007 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 12 14:55:14 2007 -0700 |
tree | b744e6b010f646b21c6185896141252c49d91de2 | |
parent | 7b5cd5fefbe023625a7ff7604e8beb9a15a9efab [diff] |
usblp: mutex in usblp_check_status Add a mutex to protect the ->statusbuf. Not really an issue, because CUPS is single-threaded when it talks to the printer, but I feel safer this way. This should be deadlock-free, but I kept this as a separate patch in case someone ends running a git bisect. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>