Ideas for Coverity 1507573 "Thread deadlock" fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Coverity complains about holding the GlobalMidLock in dequeue_mid in
fs/cifs/connect.c while calling pr_warn_once (which grabs a rate limit
lock)

CID 1507573 (#1 of 1): Thread deadlock (ORDER_REVERSAL)
lock_order: Calling _printk acquires lock ratelimit_state.lock while
holding lock GlobalMid_Lock

Thoughts about the attached trivial fix?



-- 
Thanks,

Steve

Attachment: coverity-1507573
Description: Binary data


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux