Remove bogus check on fsname in llapi_file_get_stripe().
Change-Id: I6ea7c403ce3a1994e80bc039260fae1e881b892b
Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1131
Tested-by: Hudson
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
int fd, rc = 0;
fname = strrchr(path, '/');
- if (strlen(fname) + 1 < sizeof(struct lov_user_md))
- return ENAMETOOLONG;
/* It should be a file (or other non-directory) */
if (fname == NULL) {