]> git.baikalelectronics.ru Git - kernel.git/commit
locks: encapsulate the fl_link list handling
authorJeff Layton <jlayton@redhat.com>
Fri, 21 Jun 2013 12:58:14 +0000 (08:58 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:57:41 +0000 (12:57 +0400)
commit4c5e4f5b337f8dda5a1a1b88d5eb2cf723774580
tree731b4cfc9cb4f9b50f2148404658cbca1c67d055
parent9a66394cf27fa3304063e2cc7b0bbee4e6da127b
locks: encapsulate the fl_link list handling

Move the fl_link list handling routines into a separate set of helpers.
Also ensure that locks and requests are always put on global lists
last (after fully initializing them) and are taken off before unintializing
them.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/locks.c