exofs: Add default address_space_operations
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 22 Mar 2010 09:23:40 +0000 (11:23 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Mon, 17 May 2010 10:50:50 +0000 (13:50 +0300)
commit200b0700420a78c3ade543761f0901985f41f96b
tree521fd32425502856bf38d81e73f4cdf49103a80f
parente40152ee1e1c7a63f4777791863215e3faa37a86
exofs: Add default address_space_operations

All vectors of address_space_operations should be initialized
by the filesystem. Add the missing parts.

This is actually an optimization, by using
__set_page_dirty_nobuffers. The default, in case of NULL,
would be __set_page_dirty_buffers which has these extar if(s).

.releasepage && .invalidatepage should both not be called
because page_private() is NULL in exofs. Put a WARN_ON if
they are called, to indicate the Kernel has changed in this
regard, if when it does.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/inode.c