summaryrefslogtreecommitdiff
path: root/include/linux/watch_queue.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2023-09-05 14:08:14 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-09-05 14:08:14 -0700
commit34069d12e239ae8f36dd96c378e4622fb1c42a76 (patch)
treeb33fabf1a4cc7530e93ab416f3156bdfe601a3a0 /include/linux/watch_queue.h
parent54116d442e001e1b6bd482122043b1870998a1f3 (diff)
parent2dde18cd1d8fac735875f2e4987f11817cc0bc2c (diff)
downloadlinux-next-34069d12e239ae8f36dd96c378e4622fb1c42a76.tar.gz
linux-next-34069d12e239ae8f36dd96c378e4622fb1c42a76.zip
Merge tag 'v6.5' into next
Sync up with mainline to bring in updates to the shared infrastructure.
Diffstat (limited to 'include/linux/watch_queue.h')
-rw-r--r--include/linux/watch_queue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/watch_queue.h b/include/linux/watch_queue.h
index fc6bba20273b..45cd42f55d49 100644
--- a/include/linux/watch_queue.h
+++ b/include/linux/watch_queue.h
@@ -38,7 +38,7 @@ struct watch_filter {
struct watch_queue {
struct rcu_head rcu;
struct watch_filter __rcu *filter;
- struct pipe_inode_info *pipe; /* The pipe we're using as a buffer */
+ struct pipe_inode_info *pipe; /* Pipe we use as a buffer, NULL if queue closed */
struct hlist_head watches; /* Contributory watches */
struct page **notes; /* Preallocated notifications */
unsigned long *notes_bitmap; /* Allocation bitmap for notes */
@@ -46,7 +46,6 @@ struct watch_queue {
spinlock_t lock;
unsigned int nr_notes; /* Number of notes */
unsigned int nr_pages; /* Number of pages in notes[] */
- bool defunct; /* T when queues closed */
};
/*