Sanitize qnx4 fsync handling
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 7 Jun 2009 13:30:08 +0000 (09:30 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:36:11 +0000 (21:36 -0400)
commit79d25767583e4e086f8309bfd1f502660a64fe7f
treef13414f324d859f82c604bb4027a4aab19bed909
parentd5aacad548db1ff547adf35d0a77eb2a8ed4fe14
Sanitize qnx4 fsync handling

* have directory operations use mark_buffer_dirty_inode(),
  so that sync_mapping_buffers() would get those.
* make qnx4_write_inode() honour its last argument.
* get rid of insane copies of very ancient "walk the indirect blocks"
  in qnx4/fsync - they never matched the actual fs layout and, fortunately,
  never'd been called.  Again, all this junk is not needed; ->fsync()
  should just do sync_mapping_buffers + sync_inode (and if we implement
  block allocation for qnx4, we'll need to use mark_buffer_dirty_inode()
  for extent blocks)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/qnx4/Makefile
fs/qnx4/dir.c
fs/qnx4/file.c
fs/qnx4/fsync.c [deleted file]
fs/qnx4/inode.c
fs/qnx4/namei.c
include/linux/qnx4_fs.h