projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbe0e33
)
ocfs2: fix warning in ocfs2_file_aio_write()
author
Coly Li
<coly.li@suse.de>
Thu, 25 Feb 2010 06:57:13 +0000
(14:57 +0800)
committer
Joel Becker
<joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:18 +0000
(15:41 -0800)
This patch fixes a compiling warning in ocfs2_file_aio_write().
Signed-off-by: Coly Li <coly.li@suse.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/file.c
b/fs/ocfs2/file.c
index da097bd07b729631c149c02f8789a165bee56fd9..c8a4a2939e550ef43f81f278996111cddc6506a2 100644
(file)
--- a/
fs/ocfs2/file.c
+++ b/
fs/ocfs2/file.c
@@
-2041,7
+2041,7
@@
out_dio:
* async dio is going to do it in the future or an end_io after an
* error has already done it.
*/
- if (
ret == -EIOCBQUEUED || !ocfs2_iocb_is_rw_locked(iocb
)) {
+ if (
(ret == -EIOCBQUEUED) || (!ocfs2_iocb_is_rw_locked(iocb)
)) {
rw_level = -1;
have_alloc_sem = 0;
}