lkml.org 
[lkml]   [2007]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] fs/9p/vfs_addr.c: make 2 functions static
    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 <bunk@stusta.de>

    ---

    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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-02-20 01:19    [W:0.020 / U:2.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site