From: zhaoyuxing zhaoyuxing2@huawei.com
euleros inclusion category: bugfix bugzilla: 46914
--------------------------------
Some group may be used to do other processing, but there is no private data to users. Add private_data in struct fsnotify_group, which can be used for special purposes, such as a special flag.
Signed-off-by: zhaoyuxing zhaoyuxing2@huawei.com Reviewed-by: zhangyi (F) yi.zhang@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- include/linux/fsnotify_backend.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 4599d1c95f8c..01858d5d5a58 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h @@ -201,6 +201,11 @@ struct fsnotify_group { } fanotify_data; #endif /* CONFIG_FANOTIFY */ }; + + KABI_RESERVE(1); + KABI_RESERVE(2); + KABI_RESERVE(3); + KABI_RESERVE(4); };
/* when calling fsnotify tell it if the data is a path or inode */