Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
c119b87d
Commit
c119b87d
authored
Nov 18, 2005
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Missing part of previous patch
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
3020a1f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
fs/cifs/file.c
fs/cifs/file.c
+2
-0
fs/cifs/inode.c
fs/cifs/inode.c
+1
-0
No files found.
fs/cifs/file.c
View file @
c119b87d
...
@@ -489,8 +489,10 @@ int cifs_close(struct inode *inode, struct file *file)
...
@@ -489,8 +489,10 @@ int cifs_close(struct inode *inode, struct file *file)
the struct would be in each open file,
the struct would be in each open file,
but this should give enough time to
but this should give enough time to
clear the socket */
clear the socket */
write_unlock
(
&
file
->
f_owner
.
lock
);
cERROR
(
1
,(
"close with pending writes"
));
cERROR
(
1
,(
"close with pending writes"
));
msleep
(
timeout
);
msleep
(
timeout
);
write_lock
(
&
file
->
f_owner
.
lock
);
timeout
*=
4
;
timeout
*=
4
;
}
}
write_unlock
(
&
file
->
f_owner
.
lock
);
write_unlock
(
&
file
->
f_owner
.
lock
);
...
...
fs/cifs/inode.c
View file @
c119b87d
...
@@ -279,6 +279,7 @@ static int get_sfu_uid_mode(struct inode * inode,
...
@@ -279,6 +279,7 @@ static int get_sfu_uid_mode(struct inode * inode,
return
(
int
)
rc
;
return
(
int
)
rc
;
else
if
(
rc
>
3
)
{
else
if
(
rc
>
3
)
{
mode
=
le32_to_cpu
(
*
((
__le32
*
)
ea_value
));
mode
=
le32_to_cpu
(
*
((
__le32
*
)
ea_value
));
inode
->
i_mode
&=
~
SFBITS_MASK
;
cFYI
(
1
,(
"special bits 0%o org mode 0%o"
,
mode
,
inode
->
i_mode
));
cFYI
(
1
,(
"special bits 0%o org mode 0%o"
,
mode
,
inode
->
i_mode
));
inode
->
i_mode
=
(
mode
&
SFBITS_MASK
)
|
inode
->
i_mode
;
inode
->
i_mode
=
(
mode
&
SFBITS_MASK
)
|
inode
->
i_mode
;
cFYI
(
1
,(
"special mode bits 0%o"
,
mode
));
cFYI
(
1
,(
"special mode bits 0%o"
,
mode
));
...
...
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