Commit e8ee9941 authored by J. R. Okajima's avatar J. R. Okajima
Browse files

aufs: for linux-v5.9-rc1, arg of ->handle_event()



Simply follows the commit in mainline,
b54cecf5e2293 2020-07-27 fsnotify: pass dir argument to handle_event() callback
Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
parent 5cd9cbb2
...@@ -147,8 +147,8 @@ static void au_hfsn_free_group(struct fsnotify_group *group) ...@@ -147,8 +147,8 @@ static void au_hfsn_free_group(struct fsnotify_group *group)
} }
static int au_hfsn_handle_event(struct fsnotify_group *group, static int au_hfsn_handle_event(struct fsnotify_group *group,
struct inode *inode,
u32 mask, const void *data, int data_type, u32 mask, const void *data, int data_type,
struct inode *dir,
const struct qstr *file_name, u32 cookie, const struct qstr *file_name, u32 cookie,
struct fsnotify_iter_info *iter_info) struct fsnotify_iter_info *iter_info)
{ {
...@@ -165,7 +165,7 @@ static int au_hfsn_handle_event(struct fsnotify_group *group, ...@@ -165,7 +165,7 @@ static int au_hfsn_handle_event(struct fsnotify_group *group,
if (mask & (FS_IN_IGNORED | FS_UNMOUNT)) if (mask & (FS_IN_IGNORED | FS_UNMOUNT))
goto out; goto out;
h_dir = inode; h_dir = dir;
h_inode = NULL; h_inode = NULL;
#ifdef AuDbgHnotify #ifdef AuDbgHnotify
au_debug_on(); au_debug_on();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment