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
ad49a9e8
Commit
ad49a9e8
authored
Jun 10, 2003
by
Steve French
Committed by
Steve French
Jun 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix most cifs vfs sign/unsigned gcc 3.3 compile warnings
parent
39c13f08
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
fs/cifs/CHANGES
fs/cifs/CHANGES
+1
-1
fs/cifs/asn1.c
fs/cifs/asn1.c
+1
-1
fs/cifs/file.c
fs/cifs/file.c
+11
-11
fs/cifs/inode.c
fs/cifs/inode.c
+2
-2
No files found.
fs/cifs/CHANGES
View file @
ad49a9e8
Version 0.79
------------
Fix mount options for ro (readonly)
,
uid, gid and file and directory mode.
Fix mount options for ro (readonly)
,
uid, gid and file and directory mode.
Version 0.78
------------
...
...
fs/cifs/asn1.c
View file @
ad49a9e8
...
...
@@ -432,7 +432,7 @@ static int
compare_oid
(
unsigned
long
*
oid1
,
unsigned
int
oid1len
,
unsigned
long
*
oid2
,
unsigned
int
oid2len
)
{
int
i
;
unsigned
int
i
;
if
(
oid1len
!=
oid2len
)
return
0
;
...
...
fs/cifs/file.c
View file @
ad49a9e8
...
...
@@ -123,8 +123,8 @@ cifs_open(struct inode *inode, struct file *file)
to problems creating new read-only files */
if
(
cifs_sb
->
tcon
->
ses
->
capabilities
&
CAP_UNIX
)
CIFSSMBUnixSetPerms
(
xid
,
pTcon
,
full_path
,
inode
->
i_mode
,
0xFFFFFFFFFFFFFFFF
,
0xFFFFFFFFFFFFFFFF
,
(
__u64
)
-
1
,
(
__u64
)
-
1
,
cifs_sb
->
local_nls
);
else
{
/* BB implement via Windows security descriptors */
/* eg CIFSSMBWinSetPerms(xid,pTcon,full_path,mode,-1,-1,local_nls);*/
...
...
@@ -351,8 +351,8 @@ cifs_write(struct file * file, const char *write_data,
size_t
write_size
,
loff_t
*
poffset
)
{
int
rc
=
0
;
int
bytes_written
=
0
;
int
total_written
;
unsigned
int
bytes_written
=
0
;
unsigned
int
total_written
;
struct
cifs_sb_info
*
cifs_sb
;
struct
cifsTconInfo
*
pTcon
;
int
xid
,
long_op
;
...
...
@@ -633,9 +633,9 @@ cifs_read(struct file * file, char *read_data, size_t read_size,
loff_t
*
poffset
)
{
int
rc
=
-
EACCES
;
int
bytes_read
=
0
;
int
total_read
;
int
current_read_size
;
unsigned
int
bytes_read
=
0
;
unsigned
int
total_read
;
unsigned
int
current_read_size
;
struct
cifs_sb_info
*
cifs_sb
;
struct
cifsTconInfo
*
pTcon
;
int
xid
;
...
...
@@ -742,13 +742,13 @@ cifs_readpages(struct file *file, struct address_space *mapping,
struct
list_head
*
page_list
,
unsigned
num_pages
)
{
int
rc
=
-
EACCES
;
int
xid
,
i
;
int
xid
;
loff_t
offset
;
struct
page
*
page
;
struct
cifs_sb_info
*
cifs_sb
;
struct
cifsTconInfo
*
pTcon
;
int
bytes_read
=
0
;
unsigned
int
read_size
;
unsigned
int
read_size
,
i
;
char
*
smb_read_data
=
0
;
struct
smb_com_read_rsp
*
pSMBr
;
struct
pagevec
lru_pvec
;
...
...
@@ -1099,10 +1099,10 @@ int
cifs_readdir
(
struct
file
*
file
,
void
*
direntry
,
filldir_t
filldir
)
{
int
rc
=
0
;
int
xid
,
i
;
int
xid
;
int
Unicode
=
FALSE
;
int
UnixSearch
=
FALSE
;
unsigned
int
bufsize
;
unsigned
int
bufsize
,
i
;
__u16
searchHandle
;
struct
cifs_sb_info
*
cifs_sb
;
struct
cifsTconInfo
*
pTcon
;
...
...
fs/cifs/inode.c
View file @
ad49a9e8
...
...
@@ -395,8 +395,8 @@ cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
direntry
->
d_inode
->
i_nlink
=
2
;
if
(
cifs_sb
->
tcon
->
ses
->
capabilities
&
CAP_UNIX
)
CIFSSMBUnixSetPerms
(
xid
,
pTcon
,
full_path
,
mode
,
0xFFFFFFFFFFFFFFFF
,
0xFFFFFFFFFFFFFFFF
,
(
__u64
)
-
1
,
(
__u64
)
-
1
,
cifs_sb
->
local_nls
);
else
{
/* BB to be implemented via Windows secrty descriptors*/
/* eg CIFSSMBWinSetPerms(xid,pTcon,full_path,mode,-1,-1,local_nls);*/
...
...
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