From 379c8aebabefc3e1a8e4f6f7e5e5fc49843647fa Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 4 Feb 2026 17:21:25 -0500 Subject: [PATCH] fs_shell: Add the new B_QUERY_WATCH_ALL. --- headers/private/fs_shell/fssh_api_wrapper.h | 1 + headers/private/fs_shell/fssh_fs_query.h | 10 +++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/headers/private/fs_shell/fssh_api_wrapper.h b/headers/private/fs_shell/fssh_api_wrapper.h index 65a62c22e8..6a39264ccd 100644 --- a/headers/private/fs_shell/fssh_api_wrapper.h +++ b/headers/private/fs_shell/fssh_api_wrapper.h @@ -979,6 +979,7 @@ #define B_LIVE_QUERY FSSH_B_LIVE_QUERY #define B_QUERY_NON_INDEXED FSSH_B_QUERY_NON_INDEXED +#define B_QUERY_WATCH_ALL FSSH_B_QUERY_WATCH_ALL //////////////////////////////////////////////////////////////////////////////// diff --git a/headers/private/fs_shell/fssh_fs_query.h b/headers/private/fs_shell/fssh_fs_query.h index 2e7e56174c..c8aa33d032 100644 --- a/headers/private/fs_shell/fssh_fs_query.h +++ b/headers/private/fs_shell/fssh_fs_query.h @@ -12,13 +12,9 @@ /* Flags for fs_open_[live_]query() */ -#define FSSH_B_LIVE_QUERY 0x00000001 - // Note, if you specify B_LIVE_QUERY, you have to use fs_open_live_query(); - // it will be ignored in fs_open_query(). -#define FSSH_B_QUERY_NON_INDEXED 0x00000002 - // Only enable this feature for non time-critical things, it might - // take a long time to proceed. - // Also, not every file system might support this feature. +#define FSSH_B_LIVE_QUERY (1 << 0) +#define FSSH_B_QUERY_NON_INDEXED (1 << 1) +#define FSSH_B_QUERY_WATCH_ALL (1 << 2) #ifdef __cplusplus