reiser4: port for Linux-4.10
PATCH 1/1 reiser4: port for Linux-4.10
From: Edward Shishkin <[email protected]>
1) Flag WRITE_FLUSH_FUA gone. Use a combination of REQ_PREFLUSH and REQ_FUA instead;
2) ->readlink() of inode operations gone.
Signed-off-by Edward Shishkin <[email protected]>
--- plugin/object.c | 1 - wander.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
plugin/object.c +0 -1
@@ -155,7 +155,6 @@ static struct address_space_operations regular_file_a_ops = {/* VFS methods for symlink files */ static struct inode_operations symlink_file_i_ops = { - .readlink = generic_readlink, .get_link = reiser4_get_link_common, .permission = reiser4_permission_common, .setattr = reiser4_setattr_common,
wander.c +1 -1
@@ -708,7 +708,7 @@ static int write_jnodes_to_disk_extent( flush_queue_t *fq, int flags) {struct super_block *super =reiser4_get_current_sb (); -int op_flags = (flags &WRITEOUT_FLUSH_FUA ) ?WRITE_FLUSH_FUA :0 ; +int op_flags = (flags &WRITEOUT_FLUSH_FUA ) ?REQ_PREFLUSH |REQ_FUA :0 ;jnode *cur = first;reiser4_block_nr block;
Signature · 1 line
2.7.4