Hello Zhao Lei, The patch 7aff519c04d2: "btrfs: reada: simplify dev->reada_in_flight processing" from Jan 12, 2016, leads to the following static checker warning:
fs/btrfs/reada.c:697 reada_start_machine_dev() warn: inconsistent indenting fs/btrfs/reada.c 688 spin_unlock(&fs_info->reada_lock); 689 return 0; 690 } 691 dev->reada_next = re->logical + fs_info->tree_root->nodesize; 692 re->refcnt++; 693 694 spin_unlock(&fs_info->reada_lock); 695 696 spin_lock(&re->lock); 697 if (re->scheduled || list_empty(&re->extctl)) { This is indented too much. 698 spin_unlock(&re->lock); 699 reada_extent_put(fs_info, re); 700 return 0; 701 } 702 re->scheduled = 1; 703 spin_unlock(&re->lock); 704 regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html