Merge tag 'fsnotify_for_v5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull fsnotify updates from Jan Kara: "A few fsnotify fixes from Amir fixing fallout from big fsnotify overhaul a few months back and an improvement of defaults limiting maximum number of inotify watches from Waiman" * tag 'fsnotify_for_v5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: fsnotify: fix events reported to watching parent and child inotify: convert to handle_inode_event() interface fsnotify: generalize handle_inode_event() inotify: Increase default inotify.max_user_watches limit to 1048576
This commit is contained in:
@@ -154,7 +154,7 @@ static void audit_autoremove_mark_rule(struct audit_fsnotify_mark *audit_mark)
|
||||
/* Update mark data in audit rules based on fsnotify events. */
|
||||
static int audit_mark_handle_event(struct fsnotify_mark *inode_mark, u32 mask,
|
||||
struct inode *inode, struct inode *dir,
|
||||
const struct qstr *dname)
|
||||
const struct qstr *dname, u32 cookie)
|
||||
{
|
||||
struct audit_fsnotify_mark *audit_mark;
|
||||
|
||||
|
||||
@@ -1037,7 +1037,7 @@ static void evict_chunk(struct audit_chunk *chunk)
|
||||
|
||||
static int audit_tree_handle_event(struct fsnotify_mark *mark, u32 mask,
|
||||
struct inode *inode, struct inode *dir,
|
||||
const struct qstr *file_name)
|
||||
const struct qstr *file_name, u32 cookie)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -466,7 +466,7 @@ void audit_remove_watch_rule(struct audit_krule *krule)
|
||||
/* Update watch data in audit rules based on fsnotify events. */
|
||||
static int audit_watch_handle_event(struct fsnotify_mark *inode_mark, u32 mask,
|
||||
struct inode *inode, struct inode *dir,
|
||||
const struct qstr *dname)
|
||||
const struct qstr *dname, u32 cookie)
|
||||
{
|
||||
struct audit_parent *parent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user