summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/volume.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-02-07 16:29:36 -0800
committerEric W. Biederman <ebiederm@xmission.com>2012-09-21 03:13:15 -0700
commitb29f7751c9a880e842e48f421daf313b997ddd65 (patch)
tree272336a7eb1374a68999551f26bdb4efe60fa054 /fs/ntfs/volume.h
parent305d3d0dbc22aa62fa4d8b9224826fd8c7104bc5 (diff)
downloadop-kernel-dev-b29f7751c9a880e842e48f421daf313b997ddd65.zip
op-kernel-dev-b29f7751c9a880e842e48f421daf313b997ddd65.tar.gz
userns: Convert ntfs to use kuid and kgid where appropriate
Cc: Anton Altaparmakov <anton@tuxera.com> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/ntfs/volume.h')
-rw-r--r--fs/ntfs/volume.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ntfs/volume.h b/fs/ntfs/volume.h
index 15e3ba8..4f579b0 100644
--- a/fs/ntfs/volume.h
+++ b/fs/ntfs/volume.h
@@ -25,6 +25,7 @@
#define _LINUX_NTFS_VOLUME_H
#include <linux/rwsem.h>
+#include <linux/uidgid.h>
#include "types.h"
#include "layout.h"
@@ -46,8 +47,8 @@ typedef struct {
sized blocks on the device. */
/* Configuration provided by user at mount time. */
unsigned long flags; /* Miscellaneous flags, see below. */
- uid_t uid; /* uid that files will be mounted as. */
- gid_t gid; /* gid that files will be mounted as. */
+ kuid_t uid; /* uid that files will be mounted as. */
+ kgid_t gid; /* gid that files will be mounted as. */
umode_t fmask; /* The mask for file permissions. */
umode_t dmask; /* The mask for directory
permissions. */
OpenPOWER on IntegriCloud