diff --git a/fs/fs_struct.c b/fs/fs_struct.c index 97c2c52e9398..be0250788b73 100644 --- a/fs/fs_struct.c +++ b/fs/fs_struct.c @@ -45,7 +45,6 @@ void set_fs_pwd(struct fs_struct *fs, const struct path *path) if (old_pwd.dentry) path_put(&old_pwd); } -EXPORT_SYMBOL_GPL(set_fs_pwd); static inline int replace_path(struct path *p, const struct path *old, const struct path *new) { @@ -91,7 +90,6 @@ void free_fs_struct(struct fs_struct *fs) path_put(&fs->pwd); kmem_cache_free(fs_cachep, fs); } -EXPORT_SYMBOL_GPL(free_fs_struct); void exit_fs(struct task_struct *tsk) { @@ -130,7 +128,6 @@ struct fs_struct *copy_fs_struct(struct fs_struct *old) } return fs; } -EXPORT_SYMBOL_GPL(copy_fs_struct); int unshare_fs_struct(void) { diff --git a/fs/read_write.c b/fs/read_write.c index 4954fae7f736..2195380620d0 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -460,8 +460,6 @@ ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) return ret; } -EXPORT_SYMBOL_GPL(vfs_read); - static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos) { struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len }; @@ -560,8 +558,6 @@ ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_ return ret; } -EXPORT_SYMBOL_GPL(vfs_write); - static inline loff_t file_pos_read(struct file *file) { return file->f_mode & FMODE_STREAM ? 0 : file->f_pos; diff --git a/security/security.c b/security/security.c index a25f7f46f896..c792aa4e7f06 100644 --- a/security/security.c +++ b/security/security.c @@ -603,7 +603,6 @@ int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) return 0; return call_int_hook(path_chown, 0, path, uid, gid); } -EXPORT_SYMBOL_GPL(security_path_chown); int security_path_chroot(const struct path *path) {