diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-11 21:28:32 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-11 21:28:32 +0300 |
commit | 93ce93587d36493f2f86921fa79921b3cba63fbb (patch) | |
tree | 378c3f43fc384b9537481f5f0517650671b0a235 /include/linux | |
parent | 79b00034e9dcd2b065c1665c8b42f62b6b80a9be (diff) | |
parent | 413a4a6b0b5553f2423d210f65e98c211b99c3f8 (diff) | |
download | linux-93ce93587d36493f2f86921fa79921b3cba63fbb.tar.xz |
Merge branch 'davidh' (fixes from David Howells)
Merge misc fixes from David Howells:
"A set of patches for watch_queue filter issues noted by Jann. I've
added in a cleanup patch from Christophe Jaillet to convert to using
formal bitmap specifiers for the note allocation bitmap.
Also two filesystem fixes (afs and cachefiles)"
* emailed patches from David Howells <dhowells@redhat.com>:
cachefiles: Fix volume coherency attribute
afs: Fix potential thrashing in afs writeback
watch_queue: Make comment about setting ->defunct more accurate
watch_queue: Fix lack of barrier/sync/lock between post and read
watch_queue: Free the alloc bitmap when the watch_queue is torn down
watch_queue: Fix the alloc bitmap size to reflect notes allocated
watch_queue: Use the bitmap API when applicable
watch_queue: Fix to always request a pow-of-2 pipe ring size
watch_queue: Fix to release page in ->release()
watch_queue, pipe: Free watchqueue state after clearing pipe ring
watch_queue: Fix filter limit check
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/watch_queue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/watch_queue.h b/include/linux/watch_queue.h index c994d1b2cdba..3b9a40ae8bdb 100644 --- a/include/linux/watch_queue.h +++ b/include/linux/watch_queue.h @@ -28,7 +28,8 @@ struct watch_type_filter { struct watch_filter { union { struct rcu_head rcu; - unsigned long type_filter[2]; /* Bitmask of accepted types */ + /* Bitmask of accepted types */ + DECLARE_BITMAP(type_filter, WATCH_TYPE__NR); }; u32 nr_filters; /* Number of filters */ struct watch_type_filter filters[]; |