Revert "locks: keep a count of locks on the flctx lists"
This reverts commit 9bd0f45b70
.
Linus rightly pointed out that I failed to initialize the counters
when adding them, so they don't work as expected. Just revert this
patch for now.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
This commit is contained in:
parent
1fa185ebcb
commit
e084c1bd40
4 changed files with 33 additions and 38 deletions
|
@ -969,9 +969,6 @@ struct file_lock_context {
|
|||
struct list_head flc_flock;
|
||||
struct list_head flc_posix;
|
||||
struct list_head flc_lease;
|
||||
int flc_flock_cnt;
|
||||
int flc_posix_cnt;
|
||||
int flc_lease_cnt;
|
||||
};
|
||||
|
||||
/* The following constant reflects the upper bound of the file/locking space */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue