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
2a138ebb
Commit
2a138ebb
authored
Nov 29, 2005
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Missing parenthesis and typo in previous fix
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
606c0daf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+1
-1
fs/cifs/inode.c
fs/cifs/inode.c
+2
-1
No files found.
fs/cifs/cifsfs.c
View file @
2a138ebb
...
...
@@ -921,7 +921,7 @@ static int cifs_dnotify_thread(void * dummyarg)
ses
=
list_entry
(
tmp
,
struct
cifsSesInfo
,
cifsSessionList
);
if
(
ses
&&
ses
->
server
&&
atomic_read
(
&
ses
->
server
->
in
Send
))
atomic_read
(
&
ses
->
server
->
in
Flight
))
wake_up_all
(
&
ses
->
server
->
response_q
);
}
read_unlock
(
&
GlobalSMBSeslock
);
...
...
fs/cifs/inode.c
View file @
2a138ebb
...
...
@@ -778,6 +778,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
current
->
fsgid
;
}
}
}
}
kfree
(
full_path
);
FreeXid
(
xid
);
...
...
@@ -1124,7 +1125,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
cifs_sb
=
CIFS_SB
(
direntry
->
d_inode
->
i_sb
);
pTcon
=
cifs_sb
->
tcon
;
if
(
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_NO_PERM
==
0
)
{
if
(
(
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_NO_PERM
)
==
0
)
{
/* check if we have permission to change attrs */
rc
=
inode_change_ok
(
direntry
->
d_inode
,
attrs
);
if
(
rc
<
0
)
{
...
...
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