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:
committed by
Linus Torvalds
parent
5dd784d049
commit
6ac08c39a1
@ -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 { \
|
||||
|
Reference in New Issue
Block a user