coda: fix reference counting in coda_file_mmap error path

mmap_region() now calls fput() on the vma->vm_file.

So we need to drop the extra reference on the coda file instead of the
host file.

Fixes: 1527f926fd04 ("mm: mmap: fix fput in error path v2")
Signed-off-by: Christian König <>
Reviewed-by: Daniel Vetter <>
Acked-by: Jan Harkes <>
Cc: Miklos Szeredi <>
Cc: Jason Gunthorpe <>
Cc: <>	[5.11+]
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>
1 file changed