Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5eee25ca
Commit
5eee25ca
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncpfs: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
18df2252
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
fs/ncpfs/dir.c
fs/ncpfs/dir.c
+2
-2
fs/ncpfs/ncplib_kernel.h
fs/ncpfs/ncplib_kernel.h
+1
-1
fs/ncpfs/symlink.c
fs/ncpfs/symlink.c
+1
-1
No files found.
fs/ncpfs/dir.c
View file @
5eee25ca
...
@@ -919,7 +919,7 @@ static int ncp_instantiate(struct inode *dir, struct dentry *dentry,
...
@@ -919,7 +919,7 @@ static int ncp_instantiate(struct inode *dir, struct dentry *dentry,
goto
out
;
goto
out
;
}
}
int
ncp_create_new
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
in
t
mode
,
int
ncp_create_new
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
umode_
t
mode
,
dev_t
rdev
,
__le32
attributes
)
dev_t
rdev
,
__le32
attributes
)
{
{
struct
ncp_server
*
server
=
NCP_SERVER
(
dir
);
struct
ncp_server
*
server
=
NCP_SERVER
(
dir
);
...
@@ -928,7 +928,7 @@ int ncp_create_new(struct inode *dir, struct dentry *dentry, int mode,
...
@@ -928,7 +928,7 @@ int ncp_create_new(struct inode *dir, struct dentry *dentry, int mode,
int
opmode
;
int
opmode
;
__u8
__name
[
NCP_MAXPATHLEN
+
1
];
__u8
__name
[
NCP_MAXPATHLEN
+
1
];
PPRINTK
(
"ncp_create_new: creating %s/%s, mode=%x
\n
"
,
PPRINTK
(
"ncp_create_new: creating %s/%s, mode=%
h
x
\n
"
,
dentry
->
d_parent
->
d_name
.
name
,
dentry
->
d_name
.
name
,
mode
);
dentry
->
d_parent
->
d_name
.
name
,
dentry
->
d_name
.
name
,
mode
);
ncp_age_dentry
(
server
,
dentry
);
ncp_age_dentry
(
server
,
dentry
);
...
...
fs/ncpfs/ncplib_kernel.h
View file @
5eee25ca
...
@@ -114,7 +114,7 @@ int ncp_dirhandle_alloc(struct ncp_server *, __u8 vol, __le32 dirent, __u8 *dirh
...
@@ -114,7 +114,7 @@ int ncp_dirhandle_alloc(struct ncp_server *, __u8 vol, __le32 dirent, __u8 *dirh
int
ncp_dirhandle_free
(
struct
ncp_server
*
,
__u8
dirhandle
);
int
ncp_dirhandle_free
(
struct
ncp_server
*
,
__u8
dirhandle
);
int
ncp_create_new
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
int
ncp_create_new
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
in
t
mode
,
dev_t
rdev
,
__le32
attributes
);
umode_
t
mode
,
dev_t
rdev
,
__le32
attributes
);
static
inline
int
ncp_is_nfs_extras
(
struct
ncp_server
*
server
,
unsigned
int
volnum
)
{
static
inline
int
ncp_is_nfs_extras
(
struct
ncp_server
*
server
,
unsigned
int
volnum
)
{
#ifdef CONFIG_NCPFS_NFS_NS
#ifdef CONFIG_NCPFS_NFS_NS
...
...
fs/ncpfs/symlink.c
View file @
5eee25ca
...
@@ -108,7 +108,7 @@ int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) {
...
@@ -108,7 +108,7 @@ int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) {
char
*
rawlink
;
char
*
rawlink
;
int
length
,
err
,
i
,
outlen
;
int
length
,
err
,
i
,
outlen
;
int
kludge
;
int
kludge
;
in
t
mode
;
umode_
t
mode
;
__le32
attr
;
__le32
attr
;
unsigned
int
hdr
;
unsigned
int
hdr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment