Thread (5 messages) 5 messages, 3 authors, 2012-02-08

Re: [PATCH] Introduce SEEK_DATA/SEEK_HOLE support to XFS V7

From: Mark Tinguely <hidden>
Date: 2012-02-07 14:19:24

On 02/06/12 08:40, Jeff Liu wrote:
quoted hunk ↗ jump to hunk
Hello,

There is one bug fix in this version, in xfs_seek_data()/xfs_seek_hole(), call xfs_bmapi_read() or
xfs_bmap_first_unused() maybe failed, they should return ENXIO in this case.
Thanks Mark for pointing this out!


Signed-off-by: Jie Liu<redacted>

---
  fs/xfs/xfs_file.c |  172 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
  1 files changed, 171 insertions(+), 1 deletions(-)
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index 753ed9b..3822b15 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -1141,8 +1141,178 @@ xfs_vm_page_mkwrite(
  	return block_page_mkwrite(vma, vmf, xfs_get_blocks);

Looks good.

Reviewed-by: Mark Tinguely <redacted>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help