Commit a29d37b9 authored by Stephen Lord's avatar Stephen Lord

[XFS] Update linux directory inode contents after the initial mkdir,

right now size shows up as zero which is wrong.

SGI Modid: 2.5.x-xfs:slinx:150334a
parent 4baba809
......@@ -150,8 +150,10 @@ linvfs_mknod(
if (S_ISCHR(mode) || S_ISBLK(mode))
ip->i_rdev = to_kdev_t(rdev);
validate_fields(dir);
else if (S_ISDIR(mode))
validate_fields(ip);
d_instantiate(dentry, ip);
validate_fields(dir);
}
if (!error && have_default_acl) {
......
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