mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
vfs: spread struct mount - __lookup_mnt() result
switch __lookup_mnt() to returning struct mount *; callers adjusted. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
7d6fec45a5
commit
c71053659e
5 changed files with 31 additions and 22 deletions
|
@ -13,3 +13,5 @@ static inline int mnt_has_parent(struct vfsmount *mnt)
|
|||
{
|
||||
return mnt != mnt->mnt_parent;
|
||||
}
|
||||
|
||||
extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue