diff options
| author | Radim Krčmář <rkrcmar@redhat.com> | 2018-02-01 15:04:17 +0100 | 
|---|---|---|
| committer | Radim Krčmář <rkrcmar@redhat.com> | 2018-02-01 15:04:17 +0100 | 
| commit | 7bf14c28ee776be567855bd39ed8ff795ea19f55 (patch) | |
| tree | 6113748c673e85fccc2c56c050697789c00c6bc2 /fs/xfs/libxfs/xfs_alloc.c | |
| parent | 87cedc6be55954c6efd6eca2e694132513f65a2a (diff) | |
| parent | 5fa4ec9cb2e6679e2f828033726f758ea314b9c5 (diff) | |
Merge branch 'x86/hyperv' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Topic branch for stable KVM clockource under Hyper-V.
Thanks to Christoffer Dall for resolving the ARM conflict.
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
| -rw-r--r-- | fs/xfs/libxfs/xfs_alloc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c index 0da80019a917..83ed7715f856 100644 --- a/fs/xfs/libxfs/xfs_alloc.c +++ b/fs/xfs/libxfs/xfs_alloc.c @@ -702,7 +702,7 @@ xfs_alloc_ag_vextent(  	ASSERT(args->agbno % args->alignment == 0);  	/* if not file data, insert new block into the reverse map btree */ -	if (args->oinfo.oi_owner != XFS_RMAP_OWN_UNKNOWN) { +	if (!xfs_rmap_should_skip_owner_update(&args->oinfo)) {  		error = xfs_rmap_alloc(args->tp, args->agbp, args->agno,  				       args->agbno, args->len, &args->oinfo);  		if (error) @@ -1682,7 +1682,7 @@ xfs_free_ag_extent(  	bno_cur = cnt_cur = NULL;  	mp = tp->t_mountp; -	if (oinfo->oi_owner != XFS_RMAP_OWN_UNKNOWN) { +	if (!xfs_rmap_should_skip_owner_update(oinfo)) {  		error = xfs_rmap_free(tp, agbp, agno, bno, len, oinfo);  		if (error)  			goto error0;  | 
