mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Use struct path in fs_struct
* Use struct path in fs_struct. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Jan Blunck <jblunck@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
5dd784d049
commit
6ac08c39a1
9 changed files with 87 additions and 111 deletions
|
@ -1,15 +1,13 @@
|
|||
#ifndef _LINUX_FS_STRUCT_H
|
||||
#define _LINUX_FS_STRUCT_H
|
||||
|
||||
struct dentry;
|
||||
struct vfsmount;
|
||||
#include <linux/path.h>
|
||||
|
||||
struct fs_struct {
|
||||
atomic_t count;
|
||||
rwlock_t lock;
|
||||
int umask;
|
||||
struct dentry * root, * pwd, * altroot;
|
||||
struct vfsmount * rootmnt, * pwdmnt, * altrootmnt;
|
||||
struct path root, pwd, altroot;
|
||||
};
|
||||
|
||||
#define INIT_FS { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue