btrfs_drew_write_unlock(&inode->root->snapshot_lock);
  }
  
- int btrfs_write_check(struct kiocb *iocb, struct iov_iter *from, size_t count)
 -static void update_time_for_write(struct inode *inode)
 -{
 -      struct timespec64 now, ts;
 -
 -      if (IS_NOCMTIME(inode))
 -              return;
 -
 -      now = current_time(inode);
 -      ts = inode_get_mtime(inode);
 -      if (!timespec64_equal(&ts, &now))
 -              inode_set_mtime_to_ts(inode, now);
 -
 -      ts = inode_get_ctime(inode);
 -      if (!timespec64_equal(&ts, &now))
 -              inode_set_ctime_to_ts(inode, now);
 -
 -      if (IS_I_VERSION(inode))
 -              inode_inc_iversion(inode);
 -}
 -
+ int btrfs_write_check(struct kiocb *iocb, size_t count)
  {
        struct file *file = iocb->ki_filp;
        struct inode *inode = file_inode(file);