diff options
author | Andy Whitcroft <apw@canonical.com> | 2011-05-16 11:54:22 +0100 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-09-23 08:50:05 -0600 |
commit | e37eb52d6bb42d15b14fbfbf45b979b9a10338af (patch) | |
tree | 99db3eb7dbe56279eb40512f3b649743cbce09b3 /fs | |
parent | d0c53d0b5b30f39aefd30151ca7e2a6c956449ae (diff) |
UBUNTU: ubuntu: AUFS -- aufs2-standalone.patch aufs2.1-39
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/file_table.c | 2 | ||||
-rw-r--r-- | fs/inode.c | 1 | ||||
-rw-r--r-- | fs/namei.c | 2 | ||||
-rw-r--r-- | fs/namespace.c | 1 | ||||
-rw-r--r-- | fs/notify/group.c | 3 | ||||
-rw-r--r-- | fs/notify/mark.c | 4 | ||||
-rw-r--r-- | fs/open.c | 1 | ||||
-rw-r--r-- | fs/splice.c | 2 |
8 files changed, 16 insertions, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 01e4c1e8e6b..0e800e26b5c 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -443,6 +443,8 @@ void file_sb_list_del(struct file *file) } } +EXPORT_SYMBOL(file_sb_list_del); + #ifdef CONFIG_SMP /* diff --git a/fs/inode.c b/fs/inode.c index 43566d17d1b..4291eae074c 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -69,6 +69,7 @@ static DEFINE_SPINLOCK(inode_lru_lock); __cacheline_aligned_in_smp DEFINE_SPINLOCK(inode_sb_list_lock); __cacheline_aligned_in_smp DEFINE_SPINLOCK(inode_wb_list_lock); +EXPORT_SYMBOL(inode_sb_list_lock); /* * iprune_sem provides exclusion between the icache shrinking and the diff --git a/fs/namei.c b/fs/namei.c index eb4aef123c3..66d04c60320 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -365,6 +365,7 @@ int deny_write_access(struct file * file) return 0; } +EXPORT_SYMBOL(deny_write_access); /** * path_get - get a reference to a path @@ -1701,6 +1702,7 @@ struct dentry *lookup_hash(struct nameidata *nd) { return __lookup_hash(&nd->last, nd->path.dentry, nd); } +EXPORT_SYMBOL(lookup_hash); /** * lookup_one_len - filesystem helper to lookup single pathname component diff --git a/fs/namespace.c b/fs/namespace.c index fe59bd145d2..7d3843fdaee 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1508,6 +1508,7 @@ int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg, } return 0; } +EXPORT_SYMBOL(iterate_mounts); static void cleanup_group_ids(struct vfsmount *mnt, struct vfsmount *end) { 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 @@ #include <linux/srcu.h> #include <linux/rculist.h> #include <linux/wait.h> +#include <linux/module.h> #include <linux/fsnotify_backend.h> #include "fsnotify.h" @@ -70,6 +71,7 @@ void fsnotify_put_group(struct fsnotify_group *group) if (atomic_dec_and_test(&group->refcnt)) fsnotify_destroy_group(group); } +EXPORT_SYMBOL(fsnotify_put_group); /* * 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) return group; } +EXPORT_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) if (atomic_dec_and_test(&mark->refcnt)) mark->free_mark(mark); } +EXPORT_SYMBOL(fsnotify_put_mark); /* * Any time a mark is getting freed we end up here. @@ -189,6 +190,7 @@ void fsnotify_destroy_mark(struct fsnotify_mark *mark) if (unlikely(atomic_dec_and_test(&group->num_marks))) fsnotify_final_destroy_group(group); } +EXPORT_SYMBOL(fsnotify_destroy_mark); void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask) { @@ -276,6 +278,7 @@ err: return ret; } +EXPORT_SYMBOL(fsnotify_add_mark); /* * 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, atomic_set(&mark->refcnt, 1); mark->free_mark = free_mark; } +EXPORT_SYMBOL(fsnotify_init_mark); static int fsnotify_mark_destroy(void *ignored) { diff --git a/fs/open.c b/fs/open.c index 56b1bf0b137..6b15af414b3 100644 --- a/fs/open.c +++ b/fs/open.c @@ -63,6 +63,7 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, mutex_unlock(&dentry->d_inode->i_mutex); return ret; } +EXPORT_SYMBOL(do_truncate); static long do_sys_truncate(const char __user *pathname, loff_t length) { diff --git a/fs/splice.c b/fs/splice.c index 19afec64743..11f07f869f0 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -1109,6 +1109,7 @@ long do_splice_from(struct pipe_inode_info *pipe, struct file *out, return splice_write(pipe, out, ppos, len, flags); } +EXPORT_SYMBOL(do_splice_from); /* * Attempt to initiate a splice from a file to a pipe. @@ -1135,6 +1136,7 @@ long do_splice_to(struct file *in, loff_t *ppos, return splice_read(in, ppos, pipe, len, flags); } +EXPORT_SYMBOL(do_splice_to); /** * splice_direct_to_actor - splices data directly between two non-pipes |