diff --git a/fs/locks.c b/fs/locks.c index 6e22c8129a803deeec4d31549f7aedeeace7f408..c7c69d29a576506ea93ce82899df8f2791abe7d0 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -715,8 +715,7 @@ static int posix_locks_deadlock(struct file_lock *caller_fl, } /* Try to create a FLOCK lock on filp. We always insert new FLOCK locks - * at the head of the list, but that's secret knowledge known only to - * flock_lock_file and posix_lock_file. + * after any leases, but before any posix locks. * * Note that if called with an FL_EXISTS argument, the caller may determine * whether or not a lock was successfully freed by testing the return