From a915ffda199013a8ee2dd6a8a23b89ea45879ed3 Mon Sep 17 00:00:00 2001 From: Li Dongyang Date: Wed, 25 Mar 2015 21:53:24 -0400 Subject: [PATCH] staging/lustre/llite: glimpse the inode before doing fiemap For a new inode, the i_size is 0 until a stat, which will yield an empty fiemap result. Fix the issue by glimpsing the size before doing fiemap. Signed-off-by: Li Dongyang Signed-off-by: Bob Glossman Reviewed-by: Andreas Dilger Reviewed-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/13439 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6091 Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed