diff options
author | Jan Kara <jack@suse.cz> | 2009-08-17 12:14:33 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-09-14 11:08:15 -0400 |
commit | b04f932171e8a99bb8ca2f863b2b9eadb85741e8 (patch) | |
tree | a379db3e75b7332d407230397678a4f895f60612 /drivers | |
parent | c7b50db21fe8c295092518e224d60b95e69da3b0 (diff) |
pohmelfs: Use __generic_file_aio_write instead of generic_file_aio_write_nolock
Use new helper __generic_file_aio_write(). Since the fs takes care of syncing
by itself afterwards, there are no more changes needed.
CC: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/pohmelfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/pohmelfs/inode.c b/drivers/staging/pohmelfs/inode.c index e63c9bea6c54..e9d41e439aa7 100644 --- a/drivers/staging/pohmelfs/inode.c +++ b/drivers/staging/pohmelfs/inode.c | |||
@@ -921,7 +921,7 @@ ssize_t pohmelfs_write(struct file *file, const char __user *buf, | |||
921 | if (ret) | 921 | if (ret) |
922 | goto err_out_unlock; | 922 | goto err_out_unlock; |
923 | 923 | ||
924 | ret = generic_file_aio_write_nolock(&kiocb, &iov, 1, pos); | 924 | ret = __generic_file_aio_write(&kiocb, &iov, 1, &kiocb.ki_pos); |
925 | *ppos = kiocb.ki_pos; | 925 | *ppos = kiocb.ki_pos; |
926 | 926 | ||
927 | mutex_unlock(&inode->i_mutex); | 927 | mutex_unlock(&inode->i_mutex); |