Bug 7 - file lock accounting broken
Summary: file lock accounting broken
Status: CLOSED CODE_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: VFS (show other bugs)
Hardware: All Linux
: P2 normal
Assignee: Matthew Wilcox
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-14 04:48 UTC by Matthew Wilcox
Modified: 2023-02-27 00:58 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Matthew Wilcox 2002-11-14 04:48:24 UTC
Problem Description:

the file locking code accounting is done per-task and tasks can free each others
locks causing the accounting to get broken.

Steps to reproduce:

someone sent me a test program... i'll attach it later.
Comment 1 Paul Larson 2002-12-03 15:08:34 UTC
I wrote a test for this for the Linux Test Project.  If anyone is interested in
reproducing it, it's flock03 and is currently in the ltp cvs.  It will also be
included in the December 2002 LTP release.
Comment 2 Matthew Wilcox 2003-03-17 07:33:18 UTC
This should be fixed in 2.5.65, or a recentish 2.5.64-bk
Comment 3 bluez.test.bot 2022-06-15 11:43:23 UTC
This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----
error: patch failed: drivers/bluetooth/btusb.c:714
error: drivers/bluetooth/btusb.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch


Please resolve the issue and submit the patches again.


---
Regards,
Linux Bluetooth
Comment 4 bluez.test.bot 2022-12-19 21:14:01 UTC
This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: net/bluetooth/hci_sync.c:3572
error: net/bluetooth/hci_sync.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.


---
Regards,
Linux Bluetooth
Comment 5 bluez.test.bot 2023-02-27 00:58:19 UTC
This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: drivers/bluetooth/btusb.c:901
error: drivers/bluetooth/btusb.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.


---
Regards,
Linux Bluetooth

Note You need to log in before you can comment on or make changes to this bug.