]> git.hungrycats.org Git - linux/commitdiff
[XFS] Need to vn_revalidate after dm_set_fileattr
authorDean Roehrich <roehrich@sgi.com>
Tue, 28 Sep 2004 23:45:54 +0000 (09:45 +1000)
committerNathan Scott <nathans@sgi.com>
Tue, 28 Sep 2004 23:45:54 +0000 (09:45 +1000)
SGI Modid: xfs-linux:xfs-kern:179137a
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_file.c

index 1950da37f07e1e547e7ed900e47fff48b10f87cd..910d5bc47fa8768d4378b4e43758a4b3c7fa9310 100644 (file)
@@ -409,6 +409,8 @@ linvfs_file_mmap(
        vma->vm_ops = &linvfs_file_vm_ops;
 
        VOP_SETATTR(vp, &va, XFS_AT_UPDATIME, NULL, error);
+       if (!error)
+               vn_revalidate(vp);      /* update Linux inode flags */
        return 0;
 }