aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify')
-rw-r--r--fs/notify/mark.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/notify/mark.c b/fs/notify/mark.c
index 0ebc3fd7089b..cb1d822f227f 100644
--- a/fs/notify/mark.c
+++ b/fs/notify/mark.c
@@ -190,6 +190,12 @@ void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask)
190 fsnotify_set_inode_mark_mask_locked(mark, mask); 190 fsnotify_set_inode_mark_mask_locked(mark, mask);
191} 191}
192 192
193void fsnotify_set_mark_ignored_mask_locked(struct fsnotify_mark *mark, __u32 mask)
194{
195 assert_spin_locked(&mark->lock);
196
197 mark->ignored_mask = mask;
198}
193 199
194/* 200/*
195 * Attach an initialized mark to a given group and fs object. 201 * Attach an initialized mark to a given group and fs object.