On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
>  git-v9fs.patch
>...
>  git trees
>...

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

 fs/9p/vfs_addr.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- linux-2.6.20-mm2/fs/9p/vfs_addr.c.old       2007-02-18 22:17:06.000000000 
+0100
+++ linux-2.6.20-mm2/fs/9p/vfs_addr.c   2007-02-18 22:25:45.000000000 +0100
@@ -114,8 +114,8 @@
  *
  */
 
-int v9fs_prepare_write(struct file *file, struct page *page,
-                      unsigned from, unsigned to)
+static int v9fs_prepare_write(struct file *file, struct page *page,
+                             unsigned from, unsigned to)
 {
        if(!PageUptodate(page)) {
                if (to - from != PAGE_CACHE_SIZE) {
@@ -143,8 +143,8 @@
  * TODO: Perhaps I should just do the write here?
  */
 
-int v9fs_commit_write(struct file *file, struct page *page,
-                      unsigned offset, unsigned to)
+static int v9fs_commit_write(struct file *file, struct page *page,
+                            unsigned offset, unsigned to)
 {
         struct inode *inode = page->mapping->host;
         loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to