Re: [PATCH 8/8] btrfs: drop mmap_sem in mkwrite for btrfs

From: Dave Chinner
Date: Tue Sep 25 2018 - 20:24:45 EST


On Tue, Sep 25, 2018 at 11:30:11AM -0400, Josef Bacik wrote:
> @@ -1454,6 +1463,11 @@ static inline int fixup_user_fault(struct task_struct *tsk,
> BUG();
> return -EFAULT;
> }
> +stiatc inline struct file *maybe_unlock_mmap_for_io(struct vm_area_struct *vma,
> + int flags)
> +{
> + return NULL;
> +}

This doesn't compile either.

-Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx