diff options
| author | Chris Mason <mason@suse.com> | 2002-05-17 22:00:03 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@sb.bsdonline.org> | 2002-05-17 22:00:03 -0700 |
| commit | f6225d1d5c083834ffe4e97bf5eae870d3fd9b20 (patch) | |
| tree | 7879810c5ca37793934e1d94f5be766cf8e6f3be /include/linux | |
| parent | ff59bcd2fe9103e3374f8b415cb12b5f21381c24 (diff) | |
[PATCH] reiserfs iput deadlock fix
This patch5 changes reiserfs_new_inode to end the transaction on errors
(like -ENOSPC), so that it can call iput without deadlocking against the
journal.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/reiserfs_fs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index a64b5bc5e7de..e98ccaf9d217 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h @@ -1841,10 +1841,10 @@ struct inode * reiserfs_iget (struct super_block * s, const struct cpu_key * key); -struct inode * reiserfs_new_inode (struct reiserfs_transaction_handle *th, +int reiserfs_new_inode (struct reiserfs_transaction_handle *th, struct inode * dir, int mode, - const char * symname, int item_len, - struct dentry *dentry, struct inode *inode, int * err); + const char * symname, loff_t i_size, + struct dentry *dentry, struct inode *inode); int reiserfs_sync_inode (struct reiserfs_transaction_handle *th, struct inode * inode); void reiserfs_update_sd (struct reiserfs_transaction_handle *th, struct inode * inode); |
