Bug 2727
Summary: | CIFS Kernel error message | ||
---|---|---|---|
Product: | File System | Reporter: | Gael STEPHAN (pix) |
Component: | Samba/SMB | Assignee: | Steve French (sfrench) |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.6-1.370 (based on 2.6.6-bk5) | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Gael STEPHAN
2004-05-19 02:30:43 UTC
sleep_on_timeout is a deprecated (and broken) API that shouldn't be used in new code; however this seems to have been added recently to CIFS..... The warning in question is that sleep_on_timeout() is called without the BKL helt, which is invalid usage of that API. I had not noticed this defect - will presumably simply need to change to wait_event_interruptible with timeout I looked around and did not see a replacement for this function in include/linux/wait.h (uninterruptible wait on event with timeout). Is the best available way to remove this function to replace with schedule_timeout inside a loop checking if the event is satisfied? Fixed long ago. Probably in the 2.6.9 merge. |