Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5729
b: refs/heads/master
c: 00dd1e4
h: refs/heads/master
i:
  5727: f94fc56
v: v3
  • Loading branch information
John McCutchan authored and Linus Torvalds committed Aug 9, 2005
1 parent e3c82ac commit 8884902
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc836b5b6fcde95f750a4790d8200fabaf563dc9
refs/heads/master: 00dd1e433967872f3997a45d5adf35056fdf2f56
24 changes: 0 additions & 24 deletions trunk/include/linux/fsnotify.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,30 +43,6 @@ static inline void fsnotify_move(struct inode *old_dir, struct inode *new_dir,
}
}

/*
* fsnotify_unlink - file was unlinked
*/
static inline void fsnotify_unlink(struct dentry *dentry, struct inode *inode, struct inode *dir)
{
inode_dir_notify(dir, DN_DELETE);
inotify_inode_queue_event(dir, IN_DELETE, 0, dentry->d_name.name);
inotify_inode_queue_event(inode, IN_DELETE_SELF, 0, NULL);

inotify_inode_is_dead(inode);
}

/*
* fsnotify_rmdir - directory was removed
*/
static inline void fsnotify_rmdir(struct dentry *dentry, struct inode *inode,
struct inode *dir)
{
inode_dir_notify(dir, DN_DELETE);
inotify_inode_queue_event(dir,IN_DELETE|IN_ISDIR,0,dentry->d_name.name);
inotify_inode_queue_event(inode, IN_DELETE_SELF | IN_ISDIR, 0, NULL);
inotify_inode_is_dead(inode);
}

/*
* fsnotify_nameremove - a filename was removed from a directory
*/
Expand Down

0 comments on commit 8884902

Please sign in to comment.