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
Kirill Smelkov
linux
Commits
0b442d2c
Commit
0b442d2c
authored
Feb 26, 2008
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] remove unused variable
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
75f12983
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
fs/cifs/inode.c
fs/cifs/inode.c
+2
-3
No files found.
fs/cifs/inode.c
View file @
0b442d2c
...
...
@@ -790,7 +790,7 @@ int cifs_unlink(struct inode *inode, struct dentry *direntry)
}
static
void
posix_fill_in_inode
(
struct
inode
*
tmp_inode
,
FILE_UNIX_BASIC_INFO
*
pData
,
int
*
pobject_type
,
int
isNewInode
)
FILE_UNIX_BASIC_INFO
*
pData
,
int
isNewInode
)
{
struct
cifsInodeInfo
*
cifsInfo
=
CIFS_I
(
tmp_inode
);
loff_t
local_size
;
...
...
@@ -873,7 +873,6 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
cFYI
(
1
,
(
"posix mkdir returned 0x%x"
,
rc
));
d_drop
(
direntry
);
}
else
{
int
obj_type
;
if
(
pInfo
->
Type
==
cpu_to_le32
(
-
1
))
{
/* no return info, go query for it */
kfree
(
pInfo
);
...
...
@@ -909,7 +908,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
/* we already checked in POSIXCreate whether
frame was long enough */
posix_fill_in_inode
(
direntry
->
d_inode
,
pInfo
,
&
obj_type
,
1
/* NewInode */
);
pInfo
,
1
/* NewInode */
);
#ifdef CONFIG_CIFS_DEBUG2
cFYI
(
1
,
(
"instantiated dentry %p %s to inode %p"
,
direntry
,
direntry
->
d_name
.
name
,
newinode
));
...
...
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