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/ramfs/inode.c | |
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/ramfs/inode.c')
-rw-r--r-- | fs/ramfs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index ad4d712002f4..889d558b4e05 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c | |||
@@ -59,7 +59,6 @@ struct inode *ramfs_get_inode(struct super_block *sb, | |||
59 | inode->i_ino = get_next_ino(); | 59 | inode->i_ino = get_next_ino(); |
60 | inode_init_owner(inode, dir, mode); | 60 | inode_init_owner(inode, dir, mode); |
61 | inode->i_mapping->a_ops = &ramfs_aops; | 61 | inode->i_mapping->a_ops = &ramfs_aops; |
62 | inode->i_mapping->backing_dev_info = &noop_backing_dev_info; | ||
63 | mapping_set_gfp_mask(inode->i_mapping, GFP_HIGHUSER); | 62 | mapping_set_gfp_mask(inode->i_mapping, GFP_HIGHUSER); |
64 | mapping_set_unevictable(inode->i_mapping); | 63 | mapping_set_unevictable(inode->i_mapping); |
65 | inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; | 64 | inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; |