rename the generic fsync implementations
authorChristoph Hellwig <hch@lst.de>
Wed, 26 May 2010 15:53:41 +0000 (17:53 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 28 May 2010 02:06:06 +0000 (22:06 -0400)
commit1b061d9247f71cd15edc4c4c4600191a903642c0
tree30d92ca82d8286e7a45fba108230ecd23e61673b
parent7ea8085910ef3dd4f3cad6845aaa2b580d39b115
rename the generic fsync implementations

We don't name our generic fsync implementations very well currently.
The no-op implementation for in-memory filesystems currently is called
simple_sync_file which doesn't make too much sense to start with,
the the generic one for simple filesystems is called simple_fsync
which can lead to some confusion.

This patch renames the generic file fsync method to generic_file_fsync
to match the other generic_file_* routines it is supposed to be used
with, and the no-op implementation to noop_fsync to make it obvious
what to expect.  In addition add some documentation for both methods.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
23 files changed:
arch/powerpc/platforms/cell/spufs/inode.c
fs/adfs/dir.c
fs/adfs/file.c
fs/bfs/dir.c
fs/ext2/file.c
fs/ext4/fsync.c
fs/fat/file.c
fs/hugetlbfs/inode.c
fs/libfs.c
fs/minix/dir.c
fs/minix/file.c
fs/omfs/file.c
fs/qnx4/dir.c
fs/ramfs/file-mmu.c
fs/ramfs/file-nommu.c
fs/sysv/dir.c
fs/sysv/file.c
fs/udf/dir.c
fs/udf/file.c
fs/ufs/dir.c
fs/ufs/file.c
include/linux/fs.h
mm/shmem.c