diff options
Diffstat (limited to 'drivers/infiniband/hw/hfi1/file_ops.c')
| -rw-r--r-- | drivers/infiniband/hw/hfi1/file_ops.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/file_ops.c b/drivers/infiniband/hw/hfi1/file_ops.c index f9a7e9d29c8b..7c5e3fb22413 100644 --- a/drivers/infiniband/hw/hfi1/file_ops.c +++ b/drivers/infiniband/hw/hfi1/file_ops.c @@ -1138,7 +1138,7 @@ static int get_ctxt_info(struct hfi1_filedata *fd, unsigned long arg, u32 len)  			HFI1_CAP_UGET_MASK(uctxt->flags, MASK) |  			HFI1_CAP_KGET_MASK(uctxt->flags, K2U);  	/* adjust flag if this fd is not able to cache */ -	if (!fd->handler) +	if (!fd->use_mn)  		cinfo.runtime_flags |= HFI1_CAP_TID_UNMAP; /* no caching */  	cinfo.num_active = hfi1_count_active_units();  |