diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-19 13:16:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-19 13:16:52 -0400 |
commit | a4a4f9439c73b921ef246368fc6f2d7c0281e99d (patch) | |
tree | 7ed28dab1f5a5b9769a919dbeb523ebd1e87a8e6 /include/linux/fs.h | |
parent | b223f4e215b32849b841e750e83a915b670070f5 (diff) |
bdev: get rid of ->bd_inodes
Since 2006 we have ->i_bdev pinning bdev in question, so there's no
way to get to bdev ->evict_inode() while there's an aliasing inode
anywhere. In other words, the only place walking the list of aliases
is guaranteed to do it only when the list is empty...
Remove the detritus; it should've been done in "[PATCH] Fix a race
condition between ->i_mapping and iput()", but nobody had noticed it
back then.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index bacc0733663c..1878c8461622 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -459,7 +459,6 @@ struct block_device { struct inode * bd_inode; /* will die */ struct super_block * bd_super; struct mutex bd_mutex; /* open/close mutex */ - struct list_head bd_inodes; void * bd_claiming; void * bd_holder; int bd_holders; |