diff options
Diffstat (limited to 'fs/xfs/xfs_notify_failure.c')
| -rw-r--r-- | fs/xfs/xfs_notify_failure.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_notify_failure.c b/fs/xfs/xfs_notify_failure.c index 3545dc1d953c..42e9c72b85c0 100644 --- a/fs/xfs/xfs_notify_failure.c +++ b/fs/xfs/xfs_notify_failure.c @@ -253,8 +253,7 @@ xfs_dax_notify_dev_failure(  		return -EOPNOTSUPP;  	} -	error = xfs_dax_translate_range(type == XG_TYPE_RTG ? -			mp->m_rtdev_targp : mp->m_ddev_targp, +	error = xfs_dax_translate_range(xfs_group_type_buftarg(mp, type),  			offset, len, &daddr, &bblen);  	if (error)  		return error;  | 
