Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
50bed2c9
Commit
50bed2c9
authored
Apr 13, 2012
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 3.0 sources from stable (v3.0.27)
parent
a0811b14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
connect.c
sources/3.0/connect.c
+2
-1
dir.c
sources/3.0/dir.c
+18
-2
No files found.
sources/3.0/connect.c
View file @
50bed2c9
...
...
@@ -3027,7 +3027,7 @@ cifs_get_volume_info(char *mount_data, const char *devname)
int
cifs_mount
(
struct
cifs_sb_info
*
cifs_sb
,
struct
smb_vol
*
volume_info
)
{
int
rc
=
0
;
int
rc
;
int
xid
;
struct
cifs_ses
*
pSesInfo
;
struct
cifs_tcon
*
tcon
;
...
...
@@ -3056,6 +3056,7 @@ try_mount_again:
FreeXid
(
xid
);
}
#endif
rc
=
0
;
tcon
=
NULL
;
pSesInfo
=
NULL
;
srvTcp
=
NULL
;
...
...
sources/3.0/dir.c
View file @
50bed2c9
...
...
@@ -587,10 +587,26 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
* If either that or op not supported returned, follow
* the normal lookup.
*/
if
((
rc
==
0
)
||
(
rc
==
-
ENOENT
))
switch
(
rc
)
{
case
0
:
/*
* The server may allow us to open things like
* FIFOs, but the client isn't set up to deal
* with that. If it's not a regular file, just
* close it and proceed as if it were a normal
* lookup.
*/
if
(
newInode
&&
!
S_ISREG
(
newInode
->
i_mode
))
{
CIFSSMBClose
(
xid
,
pTcon
,
fileHandle
);
break
;
}
case
-
ENOENT
:
posix_open
=
true
;
else
if
((
rc
==
-
EINVAL
)
||
(
rc
!=
-
EOPNOTSUPP
))
case
-
EOPNOTSUPP
:
break
;
default:
pTcon
->
broken_posix_open
=
true
;
}
}
if
(
!
posix_open
)
rc
=
cifs_get_inode_info_unix
(
&
newInode
,
full_path
,
...
...
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