locks: add new struct list_head to struct file_lock
authorJeff Layton <jlayton@primarydata.com>
Fri, 16 Jan 2015 20:05:54 +0000 (15:05 -0500)
committerJeff Layton <jlayton@primarydata.com>
Fri, 16 Jan 2015 20:05:54 +0000 (15:05 -0500)
commit6dee60f69d48fcef021b4b53b3431797ec440764
treed5d8dbc3321788c3d5c0ee146f8219b50a295417
parentcb59670870d90ff8bc31f5f2efc407c6fe4938c0
locks: add new struct list_head to struct file_lock

...that we can use to queue file_locks to per-ctx list_heads. Go ahead
and convert locks_delete_lock and locks_dispose_list to use it instead
of the fl_block list.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Acked-by: Christoph Hellwig <hch@lst.de>
fs/locks.c
include/linux/fs.h