Commit:     22150c4f0f02619c256f35db2f1ec912549b4ca5
Parent:     0a976297e1f57a6d156d3f8ed7f10c64beb031a4
Author:     Latchesar Ionkov <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 23 13:48:33 2007 -0500
Committer:  Eric Van Hensbergen <[EMAIL PROTECTED]>
CommitDate: Tue Oct 23 13:48:33 2007 -0500

    9p: v9fs_vfs_rename incorrect clunk order
    In v9fs_vfs_rename function labels don't match the fids that are clunked.
    The correct clunk order is clunking newdirfid first and then olddirfid next.
    Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]>
    Signed-off-by: Eric Van Hensbergen <[EMAIL PROTECTED]>
 fs/9p/vfs_inode.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 175b4d9..23581bc 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -687,10 +687,10 @@ v9fs_vfs_rename(struct inode *old_dir, struct dentry 
        retval = p9_client_wstat(oldfid, &wstat);
-       p9_client_clunk(olddirfid);
+       p9_client_clunk(newdirfid);
-       p9_client_clunk(newdirfid);
+       p9_client_clunk(olddirfid);
        return retval;
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

Reply via email to