Hello all,

In generic_file_buffered_write, after we call ->commit_write, we
release the page with page_cache_release(). Won't this potentially free
the page? I have seen that all the generic_commit_write() function does
is mark the buffers dirty. So, I guess it is up to pdflush to do the
actual writes. What happens if page_cache_release() frees the page
before pdflush catches up?

Please answer.

Thank you.