]> git.hungrycats.org Git - linux/commitdiff
XFS: ensure inode size is correct after making a symlink.
authorStephen Lord <lord@sgi.com>
Tue, 15 Oct 2002 01:00:58 +0000 (03:00 +0200)
committerChristoph Hellwig <hch@sgi.com>
Tue, 15 Oct 2002 01:00:58 +0000 (03:00 +0200)
Modid: 2.5.x-xfs:slinx:129340a

fs/xfs/linux/xfs_iops.c

index 9b46e62dbc14d58319d0bd47f569dc4238db5f2f..20ac2a8e83cbe2bed40fe4b59472d8f0a9a8b5cc 100644 (file)
@@ -276,6 +276,7 @@ linvfs_symlink(
                } else {
                        d_instantiate(dentry, ip);
                        validate_fields(dir);
+                       validate_fields(ip); /* size needs update */
                        mark_inode_dirty_sync(ip);
                        mark_inode_dirty_sync(dir);
                }