projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7b50db
)
pohmelfs: Use __generic_file_aio_write instead of generic_file_aio_write_nolock
author
Jan Kara
<jack@suse.cz>
Mon, 17 Aug 2009 16:14:33 +0000
(18:14 +0200)
committer
Jan Kara
<jack@suse.cz>
Mon, 14 Sep 2009 15:08:15 +0000
(17:08 +0200)
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>
drivers/staging/pohmelfs/inode.c
patch
|
blob
|
history
diff --git
a/drivers/staging/pohmelfs/inode.c
b/drivers/staging/pohmelfs/inode.c
index e63c9bea6c5478b26561c3cf2e25ac09af217f5f..e9d41e439aa734049a28c04a5feea29a8d50d451 100644
(file)
--- 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,
if (ret)
goto err_out_unlock;
- ret =
generic_file_aio_write_nolock(&kiocb, &iov, 1,
pos);
+ ret =
__generic_file_aio_write(&kiocb, &iov, 1, &kiocb.ki_
pos);
*ppos = kiocb.ki_pos;
mutex_unlock(&inode->i_mutex);