Commit 09ab13f9 authored by Stephen Lord's avatar Stephen Lord Committed by Christoph Hellwig

XFS: ensure inode size is correct after making a symlink.

Modid: 2.5.x-xfs:slinx:129340a
parent ca92362f
...@@ -276,6 +276,7 @@ linvfs_symlink( ...@@ -276,6 +276,7 @@ linvfs_symlink(
} else { } else {
d_instantiate(dentry, ip); d_instantiate(dentry, ip);
validate_fields(dir); validate_fields(dir);
validate_fields(ip); /* size needs update */
mark_inode_dirty_sync(ip); mark_inode_dirty_sync(ip);
mark_inode_dirty_sync(dir); mark_inode_dirty_sync(dir);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment