aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/reiserfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/ioctl.c b/fs/reiserfs/ioctl.c
index f53505de0712..679d5029f50f 100644
--- a/fs/reiserfs/ioctl.c
+++ b/fs/reiserfs/ioctl.c
@@ -188,7 +188,7 @@ int reiserfs_unpack(struct inode *inode, struct file *filp)
188 /* we need to make sure nobody is changing the file size beneath 188 /* we need to make sure nobody is changing the file size beneath
189 ** us 189 ** us
190 */ 190 */
191 mutex_lock(&inode->i_mutex); 191 reiserfs_mutex_lock_safe(&inode->i_mutex, inode->i_sb);
192 reiserfs_write_lock(inode->i_sb); 192 reiserfs_write_lock(inode->i_sb);
193 193
194 write_from = inode->i_size & (blocksize - 1); 194 write_from = inode->i_size & (blocksize - 1);