diff options
-rw-r--r-- | fs/namei.c | 5 | ||||
-rw-r--r-- | include/linux/namei.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/namei.c b/fs/namei.c index db1bca26d88c..8c2db88bb20d 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -572,11 +572,6 @@ fail: | |||
572 | return PTR_ERR(link); | 572 | return PTR_ERR(link); |
573 | } | 573 | } |
574 | 574 | ||
575 | struct path { | ||
576 | struct vfsmount *mnt; | ||
577 | struct dentry *dentry; | ||
578 | }; | ||
579 | |||
580 | static inline void dput_path(struct path *path, struct nameidata *nd) | 575 | static inline void dput_path(struct path *path, struct nameidata *nd) |
581 | { | 576 | { |
582 | dput(path->dentry); | 577 | dput(path->dentry); |
diff --git a/include/linux/namei.h b/include/linux/namei.h index f5f19606effb..d39a5a67e979 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h | |||
@@ -29,6 +29,11 @@ struct nameidata { | |||
29 | } intent; | 29 | } intent; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | struct path { | ||
33 | struct vfsmount *mnt; | ||
34 | struct dentry *dentry; | ||
35 | }; | ||
36 | |||
32 | /* | 37 | /* |
33 | * Type of the last component on LOOKUP_PARENT | 38 | * Type of the last component on LOOKUP_PARENT |
34 | */ | 39 | */ |