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
409e185d
Commit
409e185d
authored
Oct 02, 2006
by
Steven Whitehouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[GFS2] Two redundant casts removed
Signed-off-by:
Steven Whitehouse
<
swhiteho@redhat.com
>
parent
48516ced
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/gfs2/ops_inode.c
fs/gfs2/ops_inode.c
+2
-2
No files found.
fs/gfs2/ops_inode.c
View file @
409e185d
...
@@ -411,10 +411,10 @@ static int gfs2_mkdir(struct inode *dir, struct dentry *dentry, int mode)
...
@@ -411,10 +411,10 @@ static int gfs2_mkdir(struct inode *dir, struct dentry *dentry, int mode)
dent
=
(
struct
gfs2_dirent
*
)((
char
*
)
dent
+
GFS2_DIRENT_SIZE
(
1
));
dent
=
(
struct
gfs2_dirent
*
)((
char
*
)
dent
+
GFS2_DIRENT_SIZE
(
1
));
gfs2_qstr2dirent
(
&
str
,
dibh
->
b_size
-
GFS2_DIRENT_SIZE
(
1
)
-
sizeof
(
struct
gfs2_dinode
),
dent
);
gfs2_qstr2dirent
(
&
str
,
dibh
->
b_size
-
GFS2_DIRENT_SIZE
(
1
)
-
sizeof
(
struct
gfs2_dinode
),
dent
);
gfs2_inum_out
(
&
dip
->
i_num
,
(
char
*
)
&
dent
->
de_inum
);
gfs2_inum_out
(
&
dip
->
i_num
,
&
dent
->
de_inum
);
dent
->
de_type
=
DT_DIR
;
dent
->
de_type
=
DT_DIR
;
gfs2_dinode_out
(
&
ip
->
i_di
,
(
char
*
)
di
);
gfs2_dinode_out
(
&
ip
->
i_di
,
di
);
brelse
(
dibh
);
brelse
(
dibh
);
}
}
...
...
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