|
@@ -104,7 +104,7 @@ static inline void fsnotify_move(struct inode *old_dir, struct inode *new_dir,
|
|
|
inotify_inode_queue_event(source, IN_MOVE_SELF, 0, NULL, NULL);
|
|
|
fsnotify(source, FS_MOVE_SELF, moved->d_inode, FSNOTIFY_EVENT_INODE, NULL, 0);
|
|
|
}
|
|
|
- audit_inode_child(new_name, moved, new_dir);
|
|
|
+ audit_inode_child(moved, new_dir);
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -147,7 +147,7 @@ static inline void fsnotify_create(struct inode *inode, struct dentry *dentry)
|
|
|
{
|
|
|
inotify_inode_queue_event(inode, IN_CREATE, 0, dentry->d_name.name,
|
|
|
dentry->d_inode);
|
|
|
- audit_inode_child(dentry->d_name.name, dentry, inode);
|
|
|
+ audit_inode_child(dentry, inode);
|
|
|
|
|
|
fsnotify(inode, FS_CREATE, dentry->d_inode, FSNOTIFY_EVENT_INODE, dentry->d_name.name, 0);
|
|
|
}
|
|
@@ -162,7 +162,7 @@ static inline void fsnotify_link(struct inode *dir, struct inode *inode, struct
|
|
|
inotify_inode_queue_event(dir, IN_CREATE, 0, new_dentry->d_name.name,
|
|
|
inode);
|
|
|
fsnotify_link_count(inode);
|
|
|
- audit_inode_child(new_dentry->d_name.name, new_dentry, dir);
|
|
|
+ audit_inode_child(new_dentry, dir);
|
|
|
|
|
|
fsnotify(dir, FS_CREATE, inode, FSNOTIFY_EVENT_INODE, new_dentry->d_name.name, 0);
|
|
|
}
|
|
@@ -176,7 +176,7 @@ static inline void fsnotify_mkdir(struct inode *inode, struct dentry *dentry)
|
|
|
struct inode *d_inode = dentry->d_inode;
|
|
|
|
|
|
inotify_inode_queue_event(inode, mask, 0, dentry->d_name.name, d_inode);
|
|
|
- audit_inode_child(dentry->d_name.name, dentry, inode);
|
|
|
+ audit_inode_child(dentry, inode);
|
|
|
|
|
|
fsnotify(inode, mask, d_inode, FSNOTIFY_EVENT_INODE, dentry->d_name.name, 0);
|
|
|
}
|