diff options
author | Alex Elder <aelder@sgi.com> | 2010-04-15 18:17:30 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 09:58:14 -0500 |
commit | e3bb2e30d532b00a9bdda997e174a9f9916cb1c0 (patch) | |
tree | 33d82124eb213877450072f6fa1df6dbf05be7bf /fs/xfs/xfs_dir2_sf.h | |
parent | 9db127edb54048707eb84517eb0573e597a2370a (diff) |
xfs: avoid repeated pointer dereferences
In xlog_find_cycle_start() use a local variable for some repeated
operations rather than constantly accessing the memory location
whose address is passed in.
(This version drops an assertion that a pointer is non-null.)
Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_dir2_sf.h')
0 files changed, 0 insertions, 0 deletions