diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-09-22 19:43:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:29 -0400 |
commit | 1fe72eaa0f46a0fa4cdcd8f3f7853b6d39469784 (patch) | |
tree | 1bcaa65c0011cf329d5dd2a06be519460d06e434 /fs/sync.c | |
parent | 88e0fbc452ed94393bf89585c2b90edb94749b45 (diff) |
fs/buffer.c: clean up EXPORT* macros
According to Documentation/CodingStyle the EXPORT* macro should follow
immediately after the closing function brace line.
Also, mark_buffer_async_write_endio() and do_thaw_all() are not used
elsewhere so they should be marked as static.
In addition, file_fsync() is actually in fs/sync.c so move the EXPORT* to
that file.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/sync.c')
-rw-r--r-- | fs/sync.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -183,6 +183,7 @@ int file_fsync(struct file *filp, struct dentry *dentry, int datasync) | |||
183 | ret = err; | 183 | ret = err; |
184 | return ret; | 184 | return ret; |
185 | } | 185 | } |
186 | EXPORT_SYMBOL(file_fsync); | ||
186 | 187 | ||
187 | /** | 188 | /** |
188 | * vfs_fsync_range - helper to sync a range of data & metadata to disk | 189 | * vfs_fsync_range - helper to sync a range of data & metadata to disk |