aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-07-22 05:06:13 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-13 04:26:25 -0400
commit1f28681ad34a0c7e51dc5070c84b53f7bd34f44c (patch)
tree11f5d3142a76e2e6723c7ae8612ba81cef446249 /fs/ubifs/ubifs.h
parentfbfa6c884aae2aff479eb8c996c564b1a34eae30 (diff)
UBIFS: remove unneeded function parameter
Simplify 'ubifs_jnl_write_inode()' by removing the 'deletion' parameter which is not really needed because we may test inode->i_nlink and check whether this is a deletion or not. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r--fs/ubifs/ubifs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index c488d43b6359..6ddd1de2ea64 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -1400,8 +1400,7 @@ int ubifs_jnl_update(struct ubifs_info *c, const struct inode *dir,
1400 int deletion, int xent); 1400 int deletion, int xent);
1401int ubifs_jnl_write_data(struct ubifs_info *c, const struct inode *inode, 1401int ubifs_jnl_write_data(struct ubifs_info *c, const struct inode *inode,
1402 const union ubifs_key *key, const void *buf, int len); 1402 const union ubifs_key *key, const void *buf, int len);
1403int ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode, 1403int ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode);
1404 int last_reference);
1405int ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir, 1404int ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir,
1406 const struct dentry *old_dentry, 1405 const struct dentry *old_dentry,
1407 const struct inode *new_dir, 1406 const struct inode *new_dir,