aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_address.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-01 14:35:17 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:34:23 -0500
commit1a7b1eed5802502fd649e04784becd58557fdcf1 (patch)
tree31e9e9ab8ba1296751985d49d55154848ae2eefa /fs/gfs2/ops_address.c
parent4f56110a00af5fb2e22fbccfcaf944d62cae8fcf (diff)
[GFS2] Shrink gfs2_inode (6) - di_atime/di_mtime/di_ctime
Remove the di_[amc]time fields and use inode->i_[amc]time fields instead. This saves 24 bytes from the gfs2_inode. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_address.c')
-rw-r--r--fs/gfs2/ops_address.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c
index 38b702a18244..5c3962c80e88 100644
--- a/fs/gfs2/ops_address.c
+++ b/fs/gfs2/ops_address.c
@@ -498,10 +498,6 @@ static int gfs2_commit_write(struct file *file, struct page *page,
498 di->di_size = cpu_to_be64(inode->i_size); 498 di->di_size = cpu_to_be64(inode->i_size);
499 } 499 }
500 500
501 di->di_atime = cpu_to_be64(inode->i_atime.tv_sec);
502 di->di_mtime = cpu_to_be64(inode->i_mtime.tv_sec);
503 di->di_ctime = cpu_to_be64(inode->i_ctime.tv_sec);
504
505 brelse(dibh); 501 brelse(dibh);
506 gfs2_trans_end(sdp); 502 gfs2_trans_end(sdp);
507 if (al->al_requested) { 503 if (al->al_requested) {