]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
exofs: Micro-optimize exofs_i_info
authorBoaz Harrosh <bharrosh@panasas.com>
Thu, 21 Jan 2010 18:00:02 +0000 (20:00 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 28 Feb 2010 11:35:25 +0000 (03:35 -0800)
commit518f167a37b3c53f3cf44d27800455ca24e920f6
tree9ba5e73f6e7b7107a1b151503eecd8d5cc09e687
parent34ce4e7c23e3da578e459b05c6fb17edecb19e6b
exofs: Micro-optimize exofs_i_info

optimize the exofs_i_info struct usage by moving the embedded
vfs_inode to be first. A compiler might optimize away an "add"
operation with constant zero. (Which it cannot with other constants)

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/exofs.h