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
nexedi
linux
Commits
5bb2dc6d
Commit
5bb2dc6d
authored
Jul 29, 2003
by
Steve French
Committed by
Steve French
Jul 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix oops in cifs mkdir when server fails to return inode info after successful mkdir
parent
32995340
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
fs/cifs/CHANGES
fs/cifs/CHANGES
+4
-0
fs/cifs/inode.c
fs/cifs/inode.c
+2
-1
No files found.
fs/cifs/CHANGES
View file @
5bb2dc6d
Version 0.85
------------
Fix oops in mkdir when server fails to return inode info.
Version 0.84
------------
Finish support for Linux 2.5 open/create changes, which removes the
...
...
fs/cifs/inode.c
View file @
5bb2dc6d
...
...
@@ -404,7 +404,8 @@ cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
direntry
->
d_op
=
&
cifs_dentry_ops
;
d_instantiate
(
direntry
,
newinode
);
direntry
->
d_inode
->
i_nlink
=
2
;
if
(
direntry
->
d_inode
)
direntry
->
d_inode
->
i_nlink
=
2
;
if
(
cifs_sb
->
tcon
->
ses
->
capabilities
&
CAP_UNIX
)
CIFSSMBUnixSetPerms
(
xid
,
pTcon
,
full_path
,
mode
,
(
__u64
)
-
1
,
...
...
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