aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-03-19 21:01:03 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 14:12:55 -0400
commit8d71db4f0890605d44815a2b2da4ca003f1bb142 (patch)
treee5bb078717c3e8ace7f032b940ada7901dbab545 /fs/fuse/file.c
parent5f2e354f5212a49fc639c25de2581cc8ae90d11b (diff)
lift sb_start_write/sb_end_write out of ->aio_write()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r--fs/fuse/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 34b80ba95bad..d15c6f21c17f 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -971,7 +971,6 @@ static ssize_t fuse_file_aio_write(struct kiocb *iocb, const struct iovec *iov,
971 return err; 971 return err;
972 972
973 count = ocount; 973 count = ocount;
974 sb_start_write(inode->i_sb);
975 mutex_lock(&inode->i_mutex); 974 mutex_lock(&inode->i_mutex);
976 975
977 /* We can write back this queue in page reclaim */ 976 /* We can write back this queue in page reclaim */
@@ -1030,7 +1029,6 @@ static ssize_t fuse_file_aio_write(struct kiocb *iocb, const struct iovec *iov,
1030out: 1029out:
1031 current->backing_dev_info = NULL; 1030 current->backing_dev_info = NULL;
1032 mutex_unlock(&inode->i_mutex); 1031 mutex_unlock(&inode->i_mutex);
1033 sb_end_write(inode->i_sb);
1034 1032
1035 return written ? written : err; 1033 return written ? written : err;
1036} 1034}