diff options
-rw-r--r-- | fs/ocfs2/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index da097bd07b72..c8a4a2939e55 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
@@ -2041,7 +2041,7 @@ out_dio: | |||
2041 | * async dio is going to do it in the future or an end_io after an | 2041 | * async dio is going to do it in the future or an end_io after an |
2042 | * error has already done it. | 2042 | * error has already done it. |
2043 | */ | 2043 | */ |
2044 | if (ret == -EIOCBQUEUED || !ocfs2_iocb_is_rw_locked(iocb)) { | 2044 | if ((ret == -EIOCBQUEUED) || (!ocfs2_iocb_is_rw_locked(iocb))) { |
2045 | rw_level = -1; | 2045 | rw_level = -1; |
2046 | have_alloc_sem = 0; | 2046 | have_alloc_sem = 0; |
2047 | } | 2047 | } |