This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "XFS development tree". The branch, for-next has been updated fb59581 xfs: remove xfs_flushinval_pages 4bc1ea6 xfs: remove xfs_flush_pages 95eacf0 xfs: remove xfs_wait_on_pages() d6638ae xfs: reverse the check on XFS_IOC_ZERO_RANGE f5b8911 xfs: remove xfs_tosspages from de497688daaabbab425a8a969528272ec1d962a6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit fb59581404ab7ec5075299065c22cb211a9262a9 Author: Dave Chinner <dchinner@xxxxxxxxxx> Date: Mon Nov 12 22:53:57 2012 +1100 xfs: remove xfs_flushinval_pages It's just a simple wrapper around VFS functionality, and is actually bugging in that it doesn't remove mappings before invalidating the page cache. Remove it and replace it with the correct VFS functionality. Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> Reviewed-by: Andrew Dahl <adahl@xxxxxxx> Signed-off-by: Ben Myers <bpm@xxxxxxx> commit 4bc1ea6b8ddd4f2bd78944fbe5a1042ac14b1f5f Author: Dave Chinner <dchinner@xxxxxxxxxx> Date: Mon Nov 12 22:53:56 2012 +1100 xfs: remove xfs_flush_pages It is a complex wrapper around VFS functions, but there are VFS functions that provide exactly the same functionality. Call the VFS functions directly and remove the unnecessary indirection and complexity. We don't need to care about clearing the XFS_ITRUNCATED flag, as that is done during .writepages. Hence is cleared by the VFS writeback path if there is anything to write back during the flush. Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> Reviewed-by: Andrew Dahl <adahl@xxxxxxx> Signed-off-by: Ben Myers <bpm@xxxxxxx> commit 95eacf0f71b7682a05b8242c49c68e8e4bb673e3 Author: Dave Chinner <dchinner@xxxxxxxxxx> Date: Mon Nov 12 22:53:55 2012 +1100 xfs: remove xfs_wait_on_pages() It's just a simple wrapper around a VFS function that is only called by another function in xfs_fs_subr.c. Remove it and call the VFS function directly. Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> Reviewed-by: Andrew Dahl <adahl@xxxxxxx> Signed-off-by: Ben Myers <bpm@xxxxxxx> commit d6638ae244f6323fcdf85e72eb4a5af6f6212893 Author: Andrew Dahl <adahl@xxxxxxx> Date: Wed Nov 14 12:52:26 2012 -0600 xfs: reverse the check on XFS_IOC_ZERO_RANGE Reversing the check on XFS_IOC_ZERO_RANGE. Range should be zeroed if the start is less than or equal to the end. Signed-off-by: Andrew Dahl <adahl@xxxxxxx> Reviewed-by: Mark Tinguely <tinguely@xxxxxxx> Signed-off-by: Ben Myers <bpm@xxxxxxx> commit f5b8911b67eb4f15d95d5e5324d376d4a49d56e8 Author: Dave Chinner <dchinner@xxxxxxxxxx> Date: Wed Nov 14 17:42:47 2012 +1100 xfs: remove xfs_tosspages It's a buggy, unnecessary wrapper that is duplicating truncate_pagecache_range(). When replacing the call in xfs_change_file_space(), also ensure that the length being allocated/freed is always positive before making any changes. These checks are done in the lower extent manipulation functions, too, but we need to do them before any page cache operations. Reported-by: Andrew Dahl <adahl@xxxxxxx> Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> Reviewed-By: Andrew Dahl <adahl@xxxxxxx> Signed-off-by: Ben Myers <bpm@xxxxxxx> ----------------------------------------------------------------------- Summary of changes: fs/xfs/Makefile | 1 - fs/xfs/xfs_aops.c | 2 +- fs/xfs/xfs_bmap.c | 2 +- fs/xfs/xfs_dfrag.c | 13 +++---- fs/xfs/xfs_file.c | 23 ++++++------ fs/xfs/xfs_fs_subr.c | 96 ------------------------------------------------- fs/xfs/xfs_iops.c | 4 +-- fs/xfs/xfs_vnodeops.c | 48 ++++++++++++++++++------- fs/xfs/xfs_vnodeops.h | 7 ---- 9 files changed, 56 insertions(+), 140 deletions(-) delete mode 100644 fs/xfs/xfs_fs_subr.c hooks/post-receive -- XFS development tree _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs