constify path_get/path_put and fs_struct.c stuff
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -9,8 +9,8 @@ struct path {
|
||||
struct dentry *dentry;
|
||||
};
|
||||
|
||||
extern void path_get(struct path *);
|
||||
extern void path_put(struct path *);
|
||||
extern void path_get(const struct path *);
|
||||
extern void path_put(const struct path *);
|
||||
|
||||
static inline int path_equal(const struct path *path1, const struct path *path2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user