Re: [PATCH] fuse: fix error case in fuse_readpages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Thanks Alex.
> > 
> > -mm also needs s/page_cache_release/read_cache_pages_release_page/ on patch
> > 
> > --
> > From: Alexander Zarochentsev <[email protected]>
> > 
> > Don't let fuse_readpages leave the @pages list not empty when exiting
> > on error.
> > 
> 
> hm, OK.
> 
> > +extern void readpages_cleanup_helper(struct list_head *);
> 
> Can we think of a better name?  I mean, all it does is throw away a list of
> pages.  The caller doesn't _have_ to be using it within the context of
> read_cache_pages().  put_pages()?  put_pages_list()?

So what's up with read_cache_pages_release_page() in -mm, which seems
to be rather specific to read_cache_pages()?

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux