[Devel] [PATCH 22/25] update GFS2 to check i_nlink
Dave Hansen
haveblue at us.ibm.com
Mon Dec 11 14:30:17 PST 2006
---
lxc-dave/fs/gfs2/inode.c | 1 +
1 file changed, 1 insertion(+)
diff -puN fs/gfs2/inode.c~D15-gfs-check-link-count fs/gfs2/inode.c
--- lxc/fs/gfs2/inode.c~D15-gfs-check-link-count 2006-12-11 14:22:11.000000000 -0800
+++ lxc-dave/fs/gfs2/inode.c 2006-12-11 14:22:11.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);
_
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
More information about the Devel
mailing list