> Partial revert of commit: 204ec841fbea3e5138168edbc3a76d46747cc987
Root only for !BDI_CAP_NO_WRITEBACK mappings doesn't make sense
because:
- just encourages insecure applications
- there are no current users that want this and presumable no future
uses either
- it's a maintenance burden: I'll have to layer the m/ctime update
patch on top of this
- the only pro for this has been that Nick thinks it cool ;)
I think the proper way to deal with this is to
- allow BDI_CAP_NO_WRITEBACK (tmpfs/ramfs) uses, makes database
people happy
- for !BDI_CAP_NO_WRITEBACK emulate using do_mmap_pgoff(), should be
trivial, no userspace ABI breakage
Miklos
-