[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140409205111.GG5727@linux.intel.com>
Date: Wed, 9 Apr 2014 16:51:11 -0400
From: Matthew Wilcox <willy@...ux.intel.com>
To: Jan Kara <jack@...e.cz>
Cc: Matthew Wilcox <matthew.r.wilcox@...el.com>,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [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()?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists