summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hpfs/inode.c')
-rw-r--r--fs/hpfs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c
index 2f3f3f32e..7938970c8 100644
--- a/fs/hpfs/inode.c
+++ b/fs/hpfs/inode.c
@@ -228,7 +228,7 @@ void hpfs_write_inode_ea(struct inode *i, struct fnode *fnode)
}
}
-void hpfs_write_inode(struct inode *i, int unused)
+void hpfs_write_inode(struct inode *i)
{
struct inode *parent;
if (!i->i_nlink) return;
@@ -300,14 +300,14 @@ int hpfs_notify_change(struct dentry *dentry, struct iattr *attr)
if (inode->i_sb->s_hpfs_root == inode->i_ino) return -EINVAL;
if ((error = inode_change_ok(inode, attr))) return error;
inode_setattr(inode, attr);
- hpfs_write_inode(inode, 0);
+ hpfs_write_inode(inode);
return 0;
}
void hpfs_write_if_changed(struct inode *inode)
{
if (inode->i_hpfs_dirty) {
- hpfs_write_inode(inode, 0);
+ hpfs_write_inode(inode);
}
}