Loading fs/fs_struct.c +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ void set_fs_pwd(struct fs_struct *fs, const struct path *path) if (old_pwd.dentry) path_put(&old_pwd); } EXPORT_SYMBOL(set_fs_pwd); static inline int replace_path(struct path *p, const struct path *old, const struct path *new) { Loading Loading @@ -89,6 +90,7 @@ void free_fs_struct(struct fs_struct *fs) path_put(&fs->pwd); kmem_cache_free(fs_cachep, fs); } EXPORT_SYMBOL(free_fs_struct); void exit_fs(struct task_struct *tsk) { Loading fs/namei.c +1 −0 Original line number Diff line number Diff line Loading @@ -3653,6 +3653,7 @@ out: d_delete(dentry); return error; } EXPORT_SYMBOL(vfs_rmdir2); int vfs_rmdir(struct inode *dir, struct dentry *dentry) { return vfs_rmdir2(NULL, dir, dentry); Loading Loading
fs/fs_struct.c +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ void set_fs_pwd(struct fs_struct *fs, const struct path *path) if (old_pwd.dentry) path_put(&old_pwd); } EXPORT_SYMBOL(set_fs_pwd); static inline int replace_path(struct path *p, const struct path *old, const struct path *new) { Loading Loading @@ -89,6 +90,7 @@ void free_fs_struct(struct fs_struct *fs) path_put(&fs->pwd); kmem_cache_free(fs_cachep, fs); } EXPORT_SYMBOL(free_fs_struct); void exit_fs(struct task_struct *tsk) { Loading
fs/namei.c +1 −0 Original line number Diff line number Diff line Loading @@ -3653,6 +3653,7 @@ out: d_delete(dentry); return error; } EXPORT_SYMBOL(vfs_rmdir2); int vfs_rmdir(struct inode *dir, struct dentry *dentry) { return vfs_rmdir2(NULL, dir, dentry); Loading