mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
Introduce path_get()
This introduces the symmetric function to path_put() for getting a reference to the dentry and vfsmount of a struct path in the right order. Signed-off-by: Jan Blunck <jblunck@suse.de> Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
09da5916ba
commit
5dd784d049
2 changed files with 16 additions and 2 deletions
|
@ -9,6 +9,7 @@ struct path {
|
|||
struct dentry *dentry;
|
||||
};
|
||||
|
||||
extern void path_get(struct path *);
|
||||
extern void path_put(struct path *);
|
||||
|
||||
#endif /* _LINUX_PATH_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue