Hello!Per our discussion, I am resending this patch that fixes a leak in nlmsvc_testlock.
It is addition to another leak fixing patch you already have.Without the patch, there is a leakage of nlmblock structure refcount that holds a reference nlmfile structure, that holds a reference to struct file, when async GETFL is used (-EINPROGRESS return from file_ops->lock()), and also in some error cases.
Bye, Oleg
Attachment:
nlmblock-leak_fix-1.diff
Description: Binary data