aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2011-05-16 06:54:22 -0400
committerLeann Ogasawara <leann.ogasawara@canonical.com>2011-08-30 13:16:09 -0400
commitf8d03a7900a91f82677e04e9d5abe21241b5d068 (patch)
treeadaba98f1586ddd0d1d07d5f9940404873b79f4c /fs/notify
parent2b0bdff3dba757e449d3cecfd8db46b3af6b1e22 (diff)
UBUNTU: ubuntu: AUFS -- aufs2-standalone.patch aufs2.1-39
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Diffstat (limited to 'fs/notify')
-rw-r--r--fs/notify/group.c3
-rw-r--r--fs/notify/mark.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/fs/notify/group.c b/fs/notify/group.c
index d309f38449c..f0e9568f0ca 100644
--- a/fs/notify/group.c
+++ b/fs/notify/group.c
@@ -22,6 +22,7 @@
22#include <linux/srcu.h> 22#include <linux/srcu.h>
23#include <linux/rculist.h> 23#include <linux/rculist.h>
24#include <linux/wait.h> 24#include <linux/wait.h>
25#include <linux/module.h>
25 26
26#include <linux/fsnotify_backend.h> 27#include <linux/fsnotify_backend.h>
27#include "fsnotify.h" 28#include "fsnotify.h"
@@ -70,6 +71,7 @@ void fsnotify_put_group(struct fsnotify_group *group)
70 if (atomic_dec_and_test(&group->refcnt)) 71 if (atomic_dec_and_test(&group->refcnt))
71 fsnotify_destroy_group(group); 72 fsnotify_destroy_group(group);
72} 73}
74EXPORT_SYMBOL(fsnotify_put_group);
73 75
74/* 76/*
75 * Create a new fsnotify_group and hold a reference for the group returned. 77 * Create a new fsnotify_group and hold a reference for the group returned.
@@ -102,3 +104,4 @@ struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops)
102 104
103 return group; 105 return group;
104} 106}
107EXPORT_SYMBOL(fsnotify_alloc_group);
diff --git a/fs/notify/mark.c b/fs/notify/mark.c
index 252ab1f6452..2199b9ba883 100644
--- a/fs/notify/mark.c
+++ b/fs/notify/mark.c
@@ -112,6 +112,7 @@ void fsnotify_put_mark(struct fsnotify_mark *mark)
112 if (atomic_dec_and_test(&mark->refcnt)) 112 if (atomic_dec_and_test(&mark->refcnt))
113 mark->free_mark(mark); 113 mark->free_mark(mark);
114} 114}
115EXPORT_SYMBOL(fsnotify_put_mark);
115 116
116/* 117/*
117 * Any time a mark is getting freed we end up here. 118 * Any time a mark is getting freed we end up here.
@@ -189,6 +190,7 @@ void fsnotify_destroy_mark(struct fsnotify_mark *mark)
189 if (unlikely(atomic_dec_and_test(&group->num_marks))) 190 if (unlikely(atomic_dec_and_test(&group->num_marks)))
190 fsnotify_final_destroy_group(group); 191 fsnotify_final_destroy_group(group);
191} 192}
193EXPORT_SYMBOL(fsnotify_destroy_mark);
192 194
193void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask) 195void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask)
194{ 196{
@@ -276,6 +278,7 @@ err:
276 278
277 return ret; 279 return ret;
278} 280}
281EXPORT_SYMBOL(fsnotify_add_mark);
279 282
280/* 283/*
281 * clear any marks in a group in which mark->flags & flags is true 284 * clear any marks in a group in which mark->flags & flags is true
@@ -331,6 +334,7 @@ void fsnotify_init_mark(struct fsnotify_mark *mark,
331 atomic_set(&mark->refcnt, 1); 334 atomic_set(&mark->refcnt, 1);
332 mark->free_mark = free_mark; 335 mark->free_mark = free_mark;
333} 336}
337EXPORT_SYMBOL(fsnotify_init_mark);
334 338
335static int fsnotify_mark_destroy(void *ignored) 339static int fsnotify_mark_destroy(void *ignored)
336{ 340{