summaryrefslogtreecommitdiffstats
path: root/include/linux/fs_struct.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-03-01 23:51:07 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-03-01 23:51:07 -0500
commitdcf787f39162ce32ca325b3e784aba2d2444619a (patch)
tree0c9ca31625ed193558758aba2df9e127b2abd81b /include/linux/fs_struct.h
parent26567cdbbf1a6b13a92a82332daee00672aa48a9 (diff)
downloadlinux-dcf787f39162ce32ca325b3e784aba2d2444619a.tar.gz
linux-dcf787f39162ce32ca325b3e784aba2d2444619a.tar.bz2
linux-dcf787f39162ce32ca325b3e784aba2d2444619a.zip
constify path_get/path_put and fs_struct.c stuff
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs_struct.h')
-rw-r--r--include/linux/fs_struct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs_struct.h b/include/linux/fs_struct.h
index d0ae3a84bcfb..729eded4b24f 100644
--- a/include/linux/fs_struct.h
+++ b/include/linux/fs_struct.h
@@ -17,8 +17,8 @@ struct fs_struct {
extern struct kmem_cache *fs_cachep;
extern void exit_fs(struct task_struct *);
-extern void set_fs_root(struct fs_struct *, struct path *);
-extern void set_fs_pwd(struct fs_struct *, struct path *);
+extern void set_fs_root(struct fs_struct *, const struct path *);
+extern void set_fs_pwd(struct fs_struct *, const struct path *);
extern struct fs_struct *copy_fs_struct(struct fs_struct *);
extern void free_fs_struct(struct fs_struct *);
extern int unshare_fs_struct(void);