On Wed 28-09-16 10:18:40, Dave Chinner wrote: > On Tue, Sep 27, 2016 at 06:43:34PM +0200, Jan Kara wrote: > > +/* > > + * Invalidate exceptional DAX entry if it is clean. > > + */ > > +int dax_invalidate_mapping_entry2(struct address_space *mapping, pgoff_t index) > > +{ > > + return __dax_invalidate_mapping_entry(mapping, index, false); > > } > > dax_try_invalidate_mapping_entry() Or maybe dax_invalidate_clean_mapping_entry()? I was originally trying to keep consistency with how functions in mm/truncate.c are traditionally called but even there it's not quite consistent so better have a more descriptive name. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html