diff options
author | Toshi Kani <toshi.kani@hpe.com> | 2018-09-15 21:23:41 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-09-15 21:23:41 -0400 |
commit | 94dbb63117e82253c9592816aa4465f0a9c94850 (patch) | |
tree | d618498415f594ec264454f09ae0a387f90aac55 /fs/jfs/jfs_discard.c | |
parent | fe18d649891d813964d3aaeebad873f281627fbc (diff) |
ext4, dax: add ext4_bmap to ext4_dax_aops
Ext4 mount path calls .bmap to the journal inode. This currently
works for the DAX mount case because ext4_iget() always set
'ext4_da_aops' to any regular files.
In preparation to fix ext4_iget() to set 'ext4_dax_aops' for ext4
DAX files, add ext4_bmap() to 'ext4_dax_aops', since bmap works for
DAX inodes.
Fixes: 5f0663bb4a64 ("ext4, dax: introduce ext4_dax_aops")
Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Suggested-by: Jan Kara <jack@suse.cz>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/jfs/jfs_discard.c')
0 files changed, 0 insertions, 0 deletions