diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-22 05:06:13 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-08-13 04:26:25 -0400 |
commit | 1f28681ad34a0c7e51dc5070c84b53f7bd34f44c (patch) | |
tree | 11f5d3142a76e2e6723c7ae8612ba81cef446249 /fs/ubifs/ubifs.h | |
parent | fbfa6c884aae2aff479eb8c996c564b1a34eae30 (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.h | 3 |
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); |
1401 | int ubifs_jnl_write_data(struct ubifs_info *c, const struct inode *inode, | 1401 | int 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); |
1403 | int ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode, | 1403 | int ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode); |
1404 | int last_reference); | ||
1405 | int ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir, | 1404 | int 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, |