Commit f1bf8841 authored by Andrew Morton's avatar Andrew Morton Committed by james toy

ERROR: space prohibited before that close parenthesis ')'

#252: FILE: fs/direct-io.c:1212:
+			if (end > isize )

total: 1 errors, 0 warnings, 338 lines checked

./patches/direct-io-cleanup-blockdev_direct_io-locking.patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 385fc1ba
...@@ -1209,7 +1209,7 @@ __blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode, ...@@ -1209,7 +1209,7 @@ __blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode,
if (dio->flags & DIO_LOCKING) { if (dio->flags & DIO_LOCKING) {
if (unlikely((rw & WRITE) && retval < 0)) { if (unlikely((rw & WRITE) && retval < 0)) {
loff_t isize = i_size_read(inode); loff_t isize = i_size_read(inode);
if (end > isize ) if (end > isize)
vmtruncate(inode, isize); vmtruncate(inode, isize);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment