Skip to contentSkip to conversation

fs/locks.c: Remove stale FIXME left over from BKL conversion

PATCH In review Matt Fleming 2 participants 2 messages Feb 27, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/locks.c: Remove stale FIXME left over from BKL conversion

From: Matt Fleming <[email protected]>

The comment is no longer true as (now that the BKL conversion is finished) a spinlock _is_ now used to protect file_lock_list, blocked_list and inode->i_flock.

---
 fs/locks.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/locks.c +0 -1
index 0f39982..822c3d1 100644
@@ -145,7 +145,6 @@ static DEFINE_SPINLOCK(file_lock_lock);
 
 /*
  * Protects the two list heads above, plus the inode->i_flock list
- * FIXME: should use a spinlock, once lockd and ceph are ready.
  */
 void lock_flocks(void)
 {
Signature · 1 line
1.7.4