Whamcloud - gitweb
b=14836 Fail if "lfs setstripe" has positional parameters
authorAndreas Dilger <andreas.dilger@oracle.com>
Tue, 23 Nov 2010 21:17:32 +0000 (14:17 -0700)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Tue, 23 Nov 2010 21:35:11 +0000 (00:35 +0300)
Since 1.6.1 it has been possible to use named options -c/-i/-s to
specify the layout parameters for "lfs setstripe".

Since 1.8.0 the use of the old positional parameters has generated
a warning that they are deprecated.

The code was set to fail building at 2.1.0.0, so this needs to be
resolved before moving to a release build.  Instead of simply removing
the conditional code, change "lfs setstripe" to return an error if
positional parameters are used.  That would avoid the confusion of
creating files with names of the old {size}, {offset}, and {count}
parameters, instead of returning a meaningful error to the user.


No differences found