bugfix: prevent null-deref oops if lower f/s is NFS (mmap writes)
authorErez_Zadok <ezk@cs.sunysb.edu>
Fri, 25 May 2007 19:37:38 +0000 (15:37 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 29 Apr 2011 02:23:49 +0000 (22:23 -0400)
commit56c3bad770b089389d0a86207167b4c3cfec61fa
tree9a9a777fd1e23692de09c63f623890862e8d37aa
parenta67a69fa4850671eaf14038f9f2a286671c79a15
bugfix: prevent null-deref oops if lower f/s is NFS (mmap writes)

This is a workaround fora deficiency of the linux MM layer, which doesn't
allow clean coordination between upper and lower pages in stackable layers.
We prevent an oops, but the cost is that we're not able to implement
writepages cleanly, not can we call the lower file system's writepages.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/mmap.c