diff options
Diffstat (limited to 'fs/ceph/caps.c')
-rw-r--r-- | fs/ceph/caps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index ff5d32cf9578..05ae1e472547 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c | |||
@@ -1712,7 +1712,7 @@ void ceph_check_caps(struct ceph_inode_info *ci, int flags, | |||
1712 | 1712 | ||
1713 | /* if we are unmounting, flush any unused caps immediately. */ | 1713 | /* if we are unmounting, flush any unused caps immediately. */ |
1714 | if (mdsc->stopping) | 1714 | if (mdsc->stopping) |
1715 | is_delayed = 1; | 1715 | is_delayed = true; |
1716 | 1716 | ||
1717 | spin_lock(&ci->i_ceph_lock); | 1717 | spin_lock(&ci->i_ceph_lock); |
1718 | 1718 | ||
@@ -3189,8 +3189,8 @@ static void handle_cap_flush_ack(struct inode *inode, u64 flush_tid, | |||
3189 | int dirty = le32_to_cpu(m->dirty); | 3189 | int dirty = le32_to_cpu(m->dirty); |
3190 | int cleaned = 0; | 3190 | int cleaned = 0; |
3191 | bool drop = false; | 3191 | bool drop = false; |
3192 | bool wake_ci = 0; | 3192 | bool wake_ci = false; |
3193 | bool wake_mdsc = 0; | 3193 | bool wake_mdsc = false; |
3194 | 3194 | ||
3195 | list_for_each_entry_safe(cf, tmp_cf, &ci->i_cap_flush_list, i_list) { | 3195 | list_for_each_entry_safe(cf, tmp_cf, &ci->i_cap_flush_list, i_list) { |
3196 | if (cf->tid == flush_tid) | 3196 | if (cf->tid == flush_tid) |