Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320991
b: refs/heads/master
c: 58ef6a7
h: refs/heads/master
i:
  320989: 71f7324
  320987: 4eb3278
  320983: ad2be68
  320975: 6c5db1e
  320959: 4e8b1e8
v: v3
  • Loading branch information
Jan Kara authored and Al Viro committed Jul 31, 2012
1 parent bada3f5 commit 18f23cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39263d5e71d0fad09eab0d855a9407ad2af8378c
refs/heads/master: 58ef6a75c38e9faa7d19bb7d7b45fe0df02e8621
4 changes: 2 additions & 2 deletions trunk/fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,9 +944,8 @@ static ssize_t fuse_file_aio_write(struct kiocb *iocb, const struct iovec *iov,
return err;

count = ocount;

sb_start_write(inode->i_sb);
mutex_lock(&inode->i_mutex);
vfs_check_frozen(inode->i_sb, SB_FREEZE_WRITE);

/* We can write back this queue in page reclaim */
current->backing_dev_info = mapping->backing_dev_info;
Expand Down Expand Up @@ -1004,6 +1003,7 @@ static ssize_t fuse_file_aio_write(struct kiocb *iocb, const struct iovec *iov,
out:
current->backing_dev_info = NULL;
mutex_unlock(&inode->i_mutex);
sb_end_write(inode->i_sb);

return written ? written : err;
}
Expand Down

0 comments on commit 18f23cd

Please sign in to comment.