Use list_head infra-structure for buffer's log items list
Now that buffer's b_fspriv has been split, just replace the current singly linked list of xfs_log_items, by the list_head infrastructure. Also, remove the xfs_log_item argument from xfs_buf_resubmit_failed_buffers(), there is no need for this argument, once the log items can be walked through the list_head in the buffer. Signed-off-by:Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by:
Bill O'Donnell <billodo@redhat.com> Reviewed-by:
Darrick J. Wong <darrick.wong@oracle.com> [darrick: minor style cleanups] Signed-off-by:
Darrick J. Wong <darrick.wong@oracle.com>
Showing
- fs/xfs/xfs_buf.c 1 addition, 0 deletionsfs/xfs/xfs_buf.c
- fs/xfs/xfs_buf.h 1 addition, 1 deletionfs/xfs/xfs_buf.h
- fs/xfs/xfs_buf_item.c 24 additions, 33 deletionsfs/xfs/xfs_buf_item.c
- fs/xfs/xfs_buf_item.h 0 additions, 1 deletionfs/xfs/xfs_buf_item.h
- fs/xfs/xfs_dquot_item.c 1 addition, 1 deletionfs/xfs/xfs_dquot_item.c
- fs/xfs/xfs_inode.c 3 additions, 5 deletionsfs/xfs/xfs_inode.c
- fs/xfs/xfs_inode_item.c 12 additions, 29 deletionsfs/xfs/xfs_inode_item.c
- fs/xfs/xfs_log.c 1 addition, 0 deletionsfs/xfs/xfs_log.c
- fs/xfs/xfs_trans.h 1 addition, 1 deletionfs/xfs/xfs_trans.h
Please register or sign in to comment