summaryrefslogtreecommitdiff
path: root/include/linux/fs_struct.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-10-04 09:59:13 +0200
committerIngo Molnar <mingo@kernel.org>2013-10-04 09:59:13 +0200
commitfafd883f671dfc1c2f62009179920f27abc784a1 (patch)
tree0eccb0baf343cad79a54e352598921db9ca17620 /include/linux/fs_struct.h
parent92519bbc8af612975410def52bd462ca9af85cdb (diff)
parentd8b11a0cbd1c66ce283eb9dabe0498dfa6483f32 (diff)
Merge branch 'perf/urgent' into perf/core
Pick up the latest fixes before applying new patches. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/fs_struct.h')
-rw-r--r--include/linux/fs_struct.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/fs_struct.h b/include/linux/fs_struct.h
index 2b93a9a5a1e6..0efc3e62843a 100644
--- a/include/linux/fs_struct.h
+++ b/include/linux/fs_struct.h
@@ -39,17 +39,6 @@ static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd)
spin_unlock(&fs->lock);
}
-static inline void get_fs_root_and_pwd(struct fs_struct *fs, struct path *root,
- struct path *pwd)
-{
- spin_lock(&fs->lock);
- *root = fs->root;
- path_get(root);
- *pwd = fs->pwd;
- path_get(pwd);
- spin_unlock(&fs->lock);
-}
-
extern bool current_chrooted(void);
#endif /* _LINUX_FS_STRUCT_H */