Re: [-mm patch] fs/9p/vfs_addr.c: make 2 functions static

2007-02-19 Thread Eric Van Hensbergen

On 2/19/07, Adrian Bunk <[EMAIL PROTECTED]> wrote:

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]>


Acked-by: Eric Van Hensbergen <[EMAIL PROTECTED]>
-
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/


[-mm patch] fs/9p/vfs_addr.c: make 2 functions static

2007-02-19 Thread Adrian Bunk
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.0 
+0100
+++ linux-2.6.20-mm2/fs/9p/vfs_addr.c   2007-02-18 22:25:45.0 +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/


[-mm patch] fs/9p/vfs_addr.c: make 2 functions static

2007-02-19 Thread Adrian Bunk
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.0 
+0100
+++ linux-2.6.20-mm2/fs/9p/vfs_addr.c   2007-02-18 22:25:45.0 +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/


Re: [-mm patch] fs/9p/vfs_addr.c: make 2 functions static

2007-02-19 Thread Eric Van Hensbergen

On 2/19/07, Adrian Bunk [EMAIL PROTECTED] wrote:

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]


Acked-by: Eric Van Hensbergen [EMAIL PROTECTED]
-
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/