Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f40313ac39fedca519c36fdc454acf2632e641da
Commit:     f40313ac39fedca519c36fdc454acf2632e641da
Parent:     02241bc47e8961768de83d855accd0dcad1df045
Author:     Trond Myklebust <[EMAIL PROTECTED]>
AuthorDate: Sat Jan 13 02:28:08 2007 -0500
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Sat Feb 3 15:35:07 2007 -0800

    NFS: Micro-optimisation for nfs_wb_page()
    
    Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
---
 fs/nfs/write.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index 966b8db..fab214a 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -1516,6 +1516,8 @@ int nfs_wb_page_priority(struct inode *inode, struct page 
*page, int how)
                if (ret < 0)
                        goto out;
        }
+       if (!PagePrivate(page))
+               return 0;
        ret = nfs_sync_mapping_wait(page->mapping, &wbc, how);
        if (ret >= 0)
                return 0;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to