From: Prakash Surya Date: Wed, 19 Oct 2011 17:55:37 +0000 (-0700) Subject: LU-2158 lvfs: Remove ll_sleep from linux/lvfs.h X-Git-Tag: 2.3.60~26 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=30ef0334bcda45c822a41ff50f2d0aa97b95a69a LU-2158 lvfs: Remove ll_sleep from linux/lvfs.h The ll_sleep function was removed because it is not used anywhere. Change-Id: Ic22552c69635f3da5b2cdd3dd67b9930d63a48d1 Signed-off-by: Prakash Surya Reviewed-on: http://review.whamcloud.com/4861 Reviewed-by: Andreas Dilger Tested-by: Hudson Tested-by: Maloo Reviewed-by: James Simmons --- diff --git a/lustre/include/linux/lvfs.h b/lustre/include/linux/lvfs.h index 2b83165..260cb9f 100644 --- a/lustre/include/linux/lvfs.h +++ b/lustre/include/linux/lvfs.h @@ -137,12 +137,6 @@ static inline struct dentry *ll_lookup_one_len(const char *fid_name, return dchild; } -static inline void ll_sleep(int t) -{ - cfs_set_current_state(CFS_TASK_INTERRUPTIBLE); - cfs_schedule_timeout(t * CFS_HZ); - cfs_set_current_state(CFS_TASK_RUNNING); -} #endif #endif