X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Flfs.c;h=b56b57bf41b76b2eccf0bdb8dfa8902749eaa37b;hb=e21b3025fa9f6bf7b02451ee0e7537306cafc1b8;hp=f137103adb31e0599d9b4d32085a249701f7f1e0;hpb=b95db057d0501fb19f807cddf3a8ba3f7f47cb1a;p=fs%2Flustre-release.git diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index f137103..b56b57b 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -151,7 +151,7 @@ static int lfs_mv(int argc, char **argv); "\n" \ "\tblock: Block file access during data migration\n" \ -/* all avaialable commands */ +/* all available commands */ command_t cmdlist[] = { {"setstripe", lfs_setstripe, 0, "Create a new file with a specific striping pattern or\n" @@ -398,9 +398,9 @@ static int lfs_migrate(char *name, __u64 migration_flags, } rc = llapi_file_get_stripe(name, lum); - /* failure can come from may case and some may be not real error + /* failure can happen for many reasons and some may be not real errors * (eg: no stripe) - * in case of a real error, a later call will failed with a better + * in case of a real error, a later call will fail with better * error management */ if (rc < 0) bufsz = 1024*1024; @@ -3945,8 +3945,8 @@ static int lfs_hsm_request(int argc, char **argv, int action) while ((rc = getline(&line, &len, fp)) != -1) { struct hsm_user_item *hui; - /* If allocated buffer was too small, gets something - * bigger */ + /* If allocated buffer was too small, get something + * larger */ if (nbfile_alloc <= hur->hur_request.hr_itemcount) { ssize_t size; nbfile_alloc = nbfile_alloc * 2 + 1;