diff options
author | Lukas Czerner <lczerner@redhat.com> | 2013-05-28 03:32:35 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-05-28 03:32:35 (GMT) |
commit | c121ffd013e5ab7c04414a5f0cb3604731775174 (patch) | |
tree | 672bc9385b43c52530d70749f4a2bf4d2bbd7be2 /fs/ext4/ext4.h | |
parent | a87dd18ce24dee5da1e9eb44bf8d8d48e0957efd (diff) | |
download | linux-c121ffd013e5ab7c04414a5f0cb3604731775174.tar.xz |
ext4: remove unused discard_partial_page_buffers
The discard_partial_page_buffers is no longer used anywhere so we can
simply remove it including the *_no_lock variant and
EXT4_DISCARD_PARTIAL_PG_ZERO_UNMAPPED define.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 2d4b0aa..019db3c 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -581,11 +581,6 @@ enum { #define EXT4_FREE_BLOCKS_NOFREE_LAST_CLUSTER 0x0020 /* - * Flags used by ext4_discard_partial_page_buffers - */ -#define EXT4_DISCARD_PARTIAL_PG_ZERO_UNMAPPED 0x0001 - -/* * ioctl commands */ #define EXT4_IOC_GETFLAGS FS_IOC_GETFLAGS @@ -2102,9 +2097,6 @@ extern int ext4_block_zero_page_range(handle_t *handle, struct address_space *mapping, loff_t from, loff_t length); extern int ext4_zero_partial_blocks(handle_t *handle, struct inode *inode, loff_t lstart, loff_t lend); -extern int ext4_discard_partial_page_buffers(handle_t *handle, - struct address_space *mapping, loff_t from, - loff_t length, int flags); extern int ext4_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf); extern qsize_t *ext4_get_reserved_space(struct inode *inode); extern void ext4_da_update_reserve_space(struct inode *inode, |