[PATCH, RFC] xfs: fix failed write handling

Christoph Hellwig hch at infradead.org
Tue Nov 9 07:55:20 CST 2010


> @@ -1020,6 +974,7 @@ out_invalidate:
>  	return;
>  }
>  
> +
>  /*
>   * Write out a dirty page.
>   *

Spurious whitespace change.

> +int
> +xfs_bmap_punch_delalloc_range(
> +	struct xfs_inode	*ip,
> +	xfs_fileoff_t		start,
> +	ssize_t			end)

Making this helper work in terms of FSBs seem a lot cleaner than
making it work in terms of bytes.  Both callers already deal with
FSBs, as does xfs_bunmapi.


Otherwise looks good to me.




More information about the xfs mailing list