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
9e2e85f8
Commit
9e2e85f8
authored
Oct 10, 2005
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Fix minor build problem with previous changeset
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
b387eaeb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+8
-5
No files found.
fs/cifs/cifsfs.c
View file @
9e2e85f8
...
...
@@ -408,21 +408,24 @@ static struct quotactl_ops cifs_quotactl_ops = {
static
void
cifs_umount_begin
(
struct
super_block
*
sblock
)
{
struct
cifs_sb_info
*
cifs_sb
;
struct
cifsTconInfo
*
tcon
;
cifs_sb
=
CIFS_SB
(
sb
);
if
(
cifs_sb
==
NULL
)
return
-
EIO
;
if
(
cifs_sb
->
tcon
==
NULL
)
return
-
EIO
;
return
;
tcon
=
cifs_sb
->
tcon
;
if
(
tcon
==
NULL
)
return
;
down
(
&
tcon
->
tconSem
);
if
(
atomic_read
(
&
tcon
->
useCount
)
==
1
)
tcon
->
tidStatus
=
CifsExiting
;
up
(
&
tcon
->
tconSem
);
if
(
(
cifs
->
sb
->
tcon
->
ses
)
&&
(
cifs_sb
->
tcon
->
ses
->
server
)
)
if
(
tcon
->
ses
&&
tcon
->
ses
->
server
)
{
cERROR
(
1
,(
"wake up tasks now - umount begin not complete"
));
wake_up_all
(
&
server
->
request_q
);
wake_up_all
(
&
tcon
->
ses
->
server
->
request_q
);
}
/* BB FIXME - finish add checks for tidStatus BB */
...
...
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