Remove all pages from an address_space
int invalidate_inode_pages2(struct address_space * mapping);
mapping
the address_space
Any pages which are found to be mapped into pagetables are unmapped prior to invalidation.
Returns -EBUSY if any pages could not be invalidated.