]> Git Repo - linux.git/blobdiff - fs/notify/inode_mark.c
Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
[linux.git] / fs / notify / inode_mark.c
index a4e1a8f6c329e42e10d705864bb0e75c09212265..e785fd954c30731e8f8a5dd676f903f84f0df70c 100644 (file)
@@ -64,26 +64,6 @@ void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark)
        spin_unlock(&inode->i_lock);
 }
 
-/*
- * Given an inode, destroy all of the marks associated with that inode.
- */
-void fsnotify_clear_marks_by_inode(struct inode *inode)
-{
-       struct fsnotify_mark *mark;
-       struct hlist_node *n;
-       LIST_HEAD(free_list);
-
-       spin_lock(&inode->i_lock);
-       hlist_for_each_entry_safe(mark, n, &inode->i_fsnotify_marks, obj_list) {
-               list_add(&mark->free_list, &free_list);
-               hlist_del_init_rcu(&mark->obj_list);
-               fsnotify_get_mark(mark);
-       }
-       spin_unlock(&inode->i_lock);
-
-       fsnotify_destroy_marks(&free_list);
-}
-
 /*
  * Given a group clear all of the inode marks associated with that group.
  */
This page took 0.03252 seconds and 4 git commands to generate.