|
@@ -220,6 +220,7 @@ static __inline__ int
|
|
|
nlm_compare_locks(const struct file_lock *fl1, const struct file_lock *fl2)
|
|
|
{
|
|
|
return fl1->fl_pid == fl2->fl_pid
|
|
|
+ && fl1->fl_owner == fl2->fl_owner
|
|
|
&& fl1->fl_start == fl2->fl_start
|
|
|
&& fl1->fl_end == fl2->fl_end
|
|
|
&&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK);
|