[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070209225343.BA9E6B45@localhost.localdomain>
Date: Fri, 09 Feb 2007 14:53:43 -0800
From: Dave Hansen <hansendc@...ibm.com>
To: linux-kernel@...r.kernel.org
Cc: akpm@...l.org, hch@...radead.org, Dave Hansen <hansendc@...ibm.com>
Subject: [PATCH 20/22] [PATCH] gfs: check nlink count
---
lxc-dave/fs/gfs2/inode.c | 1 +
1 file changed, 1 insertion(+)
diff -puN fs/gfs2/inode.c~gfs-check-nlink-count fs/gfs2/inode.c
--- lxc/fs/gfs2/inode.c~gfs-check-nlink-count 2007-02-09 14:26:59.000000000 -0800
+++ lxc-dave/fs/gfs2/inode.c 2007-02-09 14:26:59.000000000 -0800
@@ -169,6 +169,7 @@ static int gfs2_dinode_in(struct gfs2_in
* to do that.
*/
ip->i_inode.i_nlink = be32_to_cpu(str->di_nlink);
+ check_nlink(&ip->i_inode);
di->di_size = be64_to_cpu(str->di_size);
i_size_write(&ip->i_inode, di->di_size);
di->di_blocks = be64_to_cpu(str->di_blocks);
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists