diff options
author | Christoph Hellwig <hch@lst.de> | 2015-01-14 04:42:37 -0500 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-01-20 16:03:05 -0500 |
commit | b83ae6d421435c6204150300f1c25bfbd39cd62b (patch) | |
tree | 99c6b661ab7de05c2fd49aa62624d2d6bf8abc69 /fs/ocfs2 | |
parent | de1414a654e66b81b5348dbc5259ecf2fb61655e (diff) |
fs: remove mapping->backing_dev_info
Now that we never use the backing_dev_info pointer in struct address_space
we can simply remove it and save 4 to 8 bytes in every inode.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Reviewed-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/dlmfs/dlmfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c index 6000d3029b26..061ba6a91bf2 100644 --- a/fs/ocfs2/dlmfs/dlmfs.c +++ b/fs/ocfs2/dlmfs/dlmfs.c | |||
@@ -398,7 +398,6 @@ static struct inode *dlmfs_get_root_inode(struct super_block *sb) | |||
398 | if (inode) { | 398 | if (inode) { |
399 | inode->i_ino = get_next_ino(); | 399 | inode->i_ino = get_next_ino(); |
400 | inode_init_owner(inode, NULL, mode); | 400 | inode_init_owner(inode, NULL, mode); |
401 | inode->i_mapping->backing_dev_info = &noop_backing_dev_info; | ||
402 | inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; | 401 | inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; |
403 | inc_nlink(inode); | 402 | inc_nlink(inode); |
404 | 403 | ||
@@ -422,7 +421,6 @@ static struct inode *dlmfs_get_inode(struct inode *parent, | |||
422 | 421 | ||
423 | inode->i_ino = get_next_ino(); | 422 | inode->i_ino = get_next_ino(); |
424 | inode_init_owner(inode, parent, mode); | 423 | inode_init_owner(inode, parent, mode); |
425 | inode->i_mapping->backing_dev_info = &noop_backing_dev_info; | ||
426 | inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; | 424 | inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; |
427 | 425 | ||
428 | ip = DLMFS_I(inode); | 426 | ip = DLMFS_I(inode); |