aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorFrank Zago <[email protected]>2014-08-15 12:48:12 -0400
committerGreg Kroah-Hartman <[email protected]>2014-08-17 09:38:43 -0700
commit2b358b4ea5b2912726d872611089e790a8388b62 (patch)
treecfcdf1bc24bd414f608d124d02f315aa687ce093 /include/linux/timerqueue.h
parentb6ee56fe2afe10cf855de8d11b6097fa82c26163 (diff)
staging/lustre/llite: optimize ll_fid2path()
The only parameter from userspace that matters is the length of the buffer. We don't need to allocate then import the whole structure. By importing only that length, we can save a memory allocation. Add sparse annotations to that function. Signed-off-by: frank zago <[email protected]> Reviewed-on: http://review.whamcloud.com/11167 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5389 Reviewed-by: John L. Hammond <[email protected]> Reviewed-by: Andreas Dilger <[email protected]> Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions