Whamcloud - gitweb
LU-12042 utils: Remove stray waring from lfs mkdir 74/34374/2
authorNathaniel Clark <nclark@whamcloud.com>
Tue, 5 Mar 2019 14:22:09 +0000 (09:22 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 6 Mar 2019 07:40:10 +0000 (07:40 +0000)
lfs mkdir -i shouldn't issue a warning about -m being depricated.

Test-Parameters: trivial mdtcount=2 mdscount=2
Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Change-Id: I7012ff8ec7499b07d6463c2637c8bedcb3976fe2
Reviewed-on: https://review.whamcloud.com/34374
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/utils/lfs.c

index 0ae49c3..4eefe49 100644 (file)
@@ -5017,8 +5017,6 @@ static int lfs_setdirstripe(int argc, char **argv)
 #if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 17, 53, 0)
                case 'm':
 #endif
-                       fprintf(stderr, "warning: '-m' is deprecated, "
-                               "use '--mode' or '-o' instead\n");
 #if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(3, 0, 53, 0)
                        if (strcmp(argv[optind - 1], "--index") == 0)
                                fprintf(stderr,