|
@@ -1880,7 +1880,7 @@ static int dump_glock(struct glock_iter *gi, struct gfs2_glock *gl)
|
|
if (test_bit(GLF_DEMOTE, &gl->gl_flags)) {
|
|
if (test_bit(GLF_DEMOTE, &gl->gl_flags)) {
|
|
print_dbg(gi, " Demotion req to state %u (%llu uS ago)\n",
|
|
print_dbg(gi, " Demotion req to state %u (%llu uS ago)\n",
|
|
gl->gl_demote_state,
|
|
gl->gl_demote_state,
|
|
- (u64)(jiffies - gl->gl_demote_time)*1000000/HZ);
|
|
|
|
|
|
+ (u64)(jiffies - gl->gl_demote_time)*(1000000/HZ));
|
|
}
|
|
}
|
|
if (gl->gl_ops == &gfs2_inode_glops && gl->gl_object) {
|
|
if (gl->gl_ops == &gfs2_inode_glops && gl->gl_object) {
|
|
if (!test_bit(GLF_LOCK, &gl->gl_flags) &&
|
|
if (!test_bit(GLF_LOCK, &gl->gl_flags) &&
|