lkml.org 
[lkml]   [2014]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 07/22] Replace the XIP page fault handler with the DAX page fault handler
On Wed, Apr 09, 2014 at 12:27:58PM +0200, Jan Kara wrote:
> > + if (unlikely(vmf->pgoff >= size)) {
> > + mutex_unlock(&mapping->i_mmap_mutex);
> > + goto sigbus;
> You need to release the block you've got from the filesystem in case of
> error here an below.

What's the API to do that? Call inode->i_op->setattr()?


\
 
 \ /
  Last update: 2014-04-09 23:21    [W:0.108 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site