From 80be72669fa61267efc8b99370773b15420d9344 Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Tue, 1 Aug 2006 15:28:57 -0400 Subject: [PATCH] --- yaml --- r: 38774 b: refs/heads/master c: 899bb264507cfed83922bf14cd66a073494601ba h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/dir.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4489d2fb5de2..d78aa1d85277 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: de9b75d31e81e87685d8cc70052a003c654f1e8e +refs/heads/master: 899bb264507cfed83922bf14cd66a073494601ba diff --git a/trunk/fs/gfs2/dir.c b/trunk/fs/gfs2/dir.c index 563b99e419b6..76a23c172eeb 100644 --- a/trunk/fs/gfs2/dir.c +++ b/trunk/fs/gfs2/dir.c @@ -215,6 +215,7 @@ static int gfs2_dir_write_data(struct gfs2_inode *ip, const char *buf, if (error) goto fail; + buf += amount; copied += amount; lblock++; dblock++; @@ -335,6 +336,7 @@ static int gfs2_dir_read_data(struct gfs2_inode *ip, char *buf, if (error) goto fail; + buf += amount; copied += amount; lblock++;