[kbuild] [vfs:for-next 65/66] fs/fuse/file.c:2837 fuse_direct_IO() warn: if statement not indented
TO: Omar Sandoval CC: Al Viro tree: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-next head: 7bfd391fd08e2c10efc4119833949faf6d50d7d7 commit: 48d8dc19de85b549007d636e4db6a8884c11fc96 [65/66] direct_IO: use iov_iter_rw() instead of rw everywhere :: branch date: 4 hours ago :: commit date: 4 hours ago fs/fuse/file.c:2837 fuse_direct_IO() warn: if statement not indented git remote add vfs git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git git remote update vfs git checkout 48d8dc19de85b549007d636e4db6a8884c11fc96 vim +2837 fs/fuse/file.c bcba24cc Maxim Patlasov2012-12-14 2821 io->offset = offset; 48d8dc19 Omar Sandoval 2015-03-16 2822 io->write = (iov_iter_rw(iter) == WRITE); bcba24cc Maxim Patlasov2012-12-14 2823 io->err = 0; 36cf66ed Maxim Patlasov2012-12-14 2824 io->file = file; bcba24cc Maxim Patlasov2012-12-14 2825 /* bcba24cc Maxim Patlasov2012-12-14 2826 * By default, we want to optimize all I/Os with async request 60b9df7a Miklos Szeredi2013-05-01 2827 * submission to the client filesystem if supported. bcba24cc Maxim Patlasov2012-12-14 2828 */ e5c5f05d Maxim Patlasov2013-05-30 2829 io->async = async_dio; bcba24cc Maxim Patlasov2012-12-14 2830 io->iocb = iocb; bcba24cc Maxim Patlasov2012-12-14 2831 bcba24cc Maxim Patlasov2012-12-14 2832 /* bcba24cc Maxim Patlasov2012-12-14 2833 * We cannot asynchronously extend the size of a file. We have no method bcba24cc Maxim Patlasov2012-12-14 2834 * to wait on real async I/O requests, so we must submit this request bcba24cc Maxim Patlasov2012-12-14 2835 * synchronously. bcba24cc Maxim Patlasov2012-12-14 2836 */ 48d8dc19 Omar Sandoval 2015-03-16 @2837 if (!is_sync_kiocb(iocb) && (offset + count > i_size) && 48d8dc19 Omar Sandoval 2015-03-16 2838 iov_iter_rw(iter) == WRITE) 4273b793 Anand Avati 2012-02-17 2839 9d5722b7 Christoph Hellwig 2015-02-02 2840 if (io->async && is_sync_kiocb(iocb)) 9d5722b7 Christoph Hellwig 2015-02-02 2841 io->done = &wait; 9d5722b7 Christoph Hellwig 2015-02-02 2842 48d8dc19 Omar Sandoval 2015-03-16 2843 if (iov_iter_rw(iter) == WRITE) { d04cfe78 Al Viro 2015-04-04 2844 ret = generic_write_checks(file, &pos, &count); 54c0874f Al Viro 2015-03-30 2845 if (!ret) { --- 0-DAY kernel test infrastructureOpen Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild
[kbuild] [vfs:for-next 65/66] fs/fuse/file.c:2837 fuse_direct_IO() warn: if statement not indented
tree: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-next head: 7bfd391fd08e2c10efc4119833949faf6d50d7d7 commit: 48d8dc19de85b549007d636e4db6a8884c11fc96 [65/66] direct_IO: use iov_iter_rw() instead of rw everywhere fs/fuse/file.c:2837 fuse_direct_IO() warn: if statement not indented git remote add vfs git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git git remote update vfs git checkout 48d8dc19de85b549007d636e4db6a8884c11fc96 vim +2837 fs/fuse/file.c bcba24cc Maxim Patlasov2012-12-14 2821 io->offset = offset; 48d8dc19 Omar Sandoval 2015-03-16 2822 io->write = (iov_iter_rw(iter) == WRITE); bcba24cc Maxim Patlasov2012-12-14 2823 io->err = 0; 36cf66ed Maxim Patlasov2012-12-14 2824 io->file = file; bcba24cc Maxim Patlasov2012-12-14 2825 /* bcba24cc Maxim Patlasov2012-12-14 2826 * By default, we want to optimize all I/Os with async request 60b9df7a Miklos Szeredi2013-05-01 2827 * submission to the client filesystem if supported. bcba24cc Maxim Patlasov2012-12-14 2828 */ e5c5f05d Maxim Patlasov2013-05-30 2829 io->async = async_dio; bcba24cc Maxim Patlasov2012-12-14 2830 io->iocb = iocb; bcba24cc Maxim Patlasov2012-12-14 2831 bcba24cc Maxim Patlasov2012-12-14 2832 /* bcba24cc Maxim Patlasov2012-12-14 2833 * We cannot asynchronously extend the size of a file. We have no method bcba24cc Maxim Patlasov2012-12-14 2834 * to wait on real async I/O requests, so we must submit this request bcba24cc Maxim Patlasov2012-12-14 2835 * synchronously. bcba24cc Maxim Patlasov2012-12-14 2836 */ 48d8dc19 Omar Sandoval 2015-03-16 @2837 if (!is_sync_kiocb(iocb) && (offset + count > i_size) && 48d8dc19 Omar Sandoval 2015-03-16 2838 iov_iter_rw(iter) == WRITE) 4273b793 Anand Avati 2012-02-17 2839 9d5722b7 Christoph Hellwig 2015-02-02 2840 if (io->async && is_sync_kiocb(iocb)) 9d5722b7 Christoph Hellwig 2015-02-02 2841 io->done = &wait; 9d5722b7 Christoph Hellwig 2015-02-02 2842 48d8dc19 Omar Sandoval 2015-03-16 2843 if (iov_iter_rw(iter) == WRITE) { d04cfe78 Al Viro 2015-04-04 2844 ret = generic_write_checks(file, &pos, &count); 54c0874f Al Viro 2015-03-30 2845 if (!ret) { --- 0-DAY kernel test infrastructureOpen Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild