[PATCH 0/1] Fix a race condition with open/close of the cached handled

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

 



Steve, Pavel,

This is a fix for the lease breaks for the cached handles as Pavel reported
for a93864d93977.

The fix is adding a kref for the handle structure and we get/put this kref
while holding a mutex for the structure.
Once the last reference is dropped we close the handle and flag it no longer
being valid.
Upon next open_shroot the handle will be reopened again.

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux