From: John L. Hammond Date: Sun, 18 Jan 2015 02:31:59 +0000 (-0800) Subject: LU-5937 lfs: ensure a valid directory size in lfs find X-Git-Tag: 2.7.51~73 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7d9c948c6016b10ed0d07e20cbd7925e108b3450;hp=7d9c948c6016b10ed0d07e20cbd7925e108b3450;p=fs%2Flustre-release.git LU-5937 lfs: ensure a valid directory size in lfs find For a striped directory (and a striped file) the size returned by LL_IOC_MDC_GETINFO may not be vaild. In cb_find_init() if the size of a directory is needed then get it by calling fstat(). Signed-off-by: John L. Hammond Signed-off-by: Di Wang Change-Id: Iddb9aa8e6664a09ff866a3995741cae17e1c9962 Reviewed-on: http://review.whamcloud.com/13456 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Lai Siyao Reviewed-by: Oleg Drokin ---