X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fllite%2Fstatahead.c;h=e2c835e1f3ac7f1a9842a01bf1585b0c88d054bf;hb=fa08092d9a1554dc733640b6328fcaf3e85fec36;hp=f798e3b971826c8210ab5a93566e92609891ce74;hpb=4c809f7621425985e294c7d1da0ad6932be460af;p=fs%2Flustre-release.git diff --git a/lustre/llite/statahead.c b/lustre/llite/statahead.c index f798e3b..e2c835e 100644 --- a/lustre/llite/statahead.c +++ b/lustre/llite/statahead.c @@ -1246,7 +1246,8 @@ static int ll_statahead_by_list(struct dentry *parent) while (({set_current_state(TASK_IDLE); /* matches smp_store_release() in - * ll_deauthorize_statahead() */ + * ll_deauthorize_statahead() + */ smp_load_acquire(&sai->sai_task); })) { long timeout; @@ -2018,7 +2019,7 @@ sa_pattern_fname_detect(struct inode *dir, struct dentry *dchild) int ret; while (--i >= 0 && isdigit(name[i])) - /* do nothing */; + ; /* do nothing */ i++; ret = kstrtol(&name[i], 0, &num); if (ret) @@ -2133,7 +2134,7 @@ static int start_statahead_thread(struct inode *dir, struct dentry *dentry, i = dname->len; while (--i >= 0 && isdigit(name[i])) - /* do nothing */; + ; /* do nothing */ i++; memcpy(sai->sai_fname, dname->name, i);