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
23ac7cba
Commit
23ac7cba
authored
7 years ago
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix signedness of timestamps on ufs1
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a8fad984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/ufs/inode.c
fs/ufs/inode.c
+3
-3
No files found.
fs/ufs/inode.c
View file @
23ac7cba
...
...
@@ -578,9 +578,9 @@ static int ufs1_read_inode(struct inode *inode, struct ufs_inode *ufs_inode)
i_gid_write
(
inode
,
ufs_get_inode_gid
(
sb
,
ufs_inode
));
inode
->
i_size
=
fs64_to_cpu
(
sb
,
ufs_inode
->
ui_size
);
inode
->
i_atime
.
tv_sec
=
fs32_to_cpu
(
sb
,
ufs_inode
->
ui_atime
.
tv_sec
);
inode
->
i_ctime
.
tv_sec
=
fs32_to_cpu
(
sb
,
ufs_inode
->
ui_ctime
.
tv_sec
);
inode
->
i_mtime
.
tv_sec
=
fs32_to_cpu
(
sb
,
ufs_inode
->
ui_mtime
.
tv_sec
);
inode
->
i_atime
.
tv_sec
=
(
signed
)
fs32_to_cpu
(
sb
,
ufs_inode
->
ui_atime
.
tv_sec
);
inode
->
i_ctime
.
tv_sec
=
(
signed
)
fs32_to_cpu
(
sb
,
ufs_inode
->
ui_ctime
.
tv_sec
);
inode
->
i_mtime
.
tv_sec
=
(
signed
)
fs32_to_cpu
(
sb
,
ufs_inode
->
ui_mtime
.
tv_sec
);
inode
->
i_mtime
.
tv_nsec
=
0
;
inode
->
i_atime
.
tv_nsec
=
0
;
inode
->
i_ctime
.
tv_nsec
=
0
;
...
...
This diff is collapsed.
Click to expand it.
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