Commit 16767652 authored by Al Viro's avatar Al Viro

get rid of idiotic misplaced __kernel_mode_t in ncfps kernel-private data structure

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 962830df
...@@ -23,17 +23,17 @@ struct ncp_mount_data_kernel { ...@@ -23,17 +23,17 @@ struct ncp_mount_data_kernel {
unsigned long flags; /* NCP_MOUNT_* flags */ unsigned long flags; /* NCP_MOUNT_* flags */
unsigned int int_flags; /* internal flags */ unsigned int int_flags; /* internal flags */
#define NCP_IMOUNT_LOGGEDIN_POSSIBLE 0x0001 #define NCP_IMOUNT_LOGGEDIN_POSSIBLE 0x0001
__kernel_uid32_t mounted_uid; /* Who may umount() this filesystem? */ uid_t mounted_uid; /* Who may umount() this filesystem? */
struct pid *wdog_pid; /* Who cares for our watchdog packets? */ struct pid *wdog_pid; /* Who cares for our watchdog packets? */
unsigned int ncp_fd; /* The socket to the ncp port */ unsigned int ncp_fd; /* The socket to the ncp port */
unsigned int time_out; /* How long should I wait after unsigned int time_out; /* How long should I wait after
sending a NCP request? */ sending a NCP request? */
unsigned int retry_count; /* And how often should I retry? */ unsigned int retry_count; /* And how often should I retry? */
unsigned char mounted_vol[NCP_VOLNAME_LEN + 1]; unsigned char mounted_vol[NCP_VOLNAME_LEN + 1];
__kernel_uid32_t uid; uid_t uid;
__kernel_gid32_t gid; gid_t gid;
__kernel_mode_t file_mode; umode_t file_mode;
__kernel_mode_t dir_mode; umode_t dir_mode;
int info_fd; int info_fd;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment