Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
44737589
Commit
44737589
authored
Jun 24, 2009
by
Adrian Hunter
Committed by
Artem Bityutskiy
Jul 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBIFS: fix 64-bit divisions in debug print
Signed-off-by:
Adrian Hunter
<
adrian.hunter@nokia.com
>
parent
cb54ef8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
fs/ubifs/io.c
fs/ubifs/io.c
+3
-2
No files found.
fs/ubifs/io.c
View file @
44737589
...
...
@@ -315,8 +315,9 @@ static void new_wbuf_timer_nolock(struct ubifs_wbuf *wbuf)
if
(
wbuf
->
no_timer
)
return
;
dbg_io
(
"set timer for jhead %d, %llu-%llu millisecs"
,
wbuf
->
jhead
,
ktime_to_ns
(
wbuf
->
softlimit
)
/
USEC_PER_SEC
,
(
ktime_to_ns
(
wbuf
->
softlimit
)
+
wbuf
->
delta
)
/
USEC_PER_SEC
);
div_u64
(
ktime_to_ns
(
wbuf
->
softlimit
),
USEC_PER_SEC
),
div_u64
(
ktime_to_ns
(
wbuf
->
softlimit
)
+
wbuf
->
delta
,
USEC_PER_SEC
));
hrtimer_start_range_ns
(
&
wbuf
->
timer
,
wbuf
->
softlimit
,
wbuf
->
delta
,
HRTIMER_MODE_REL
);
}
...
...
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