Staging: lustre: llite: Remove C99 '//' comments
[linux-2.6-block.git] / drivers / staging / lustre / lustre / llite / rw26.c
index 4c77ae8b9350bce2a4db50e3ecd5e1e014257250..14441b4df9b5da4b75a8f55689a848416caf008c 100644 (file)
@@ -417,7 +417,7 @@ static ssize_t ll_direct_IO_26(int rw, struct kiocb *iocb,
 
                result = iov_iter_get_pages_alloc(iter, &pages, count, &offs);
                if (likely(result > 0)) {
-                       int n = (result + offs + PAGE_SIZE - 1) / PAGE_SIZE;
+                       int n = DIV_ROUND_UP(result + offs, PAGE_SIZE);
                        result = ll_direct_IO_26_seg(env, io, rw, inode,
                                                     file->f_mapping,
                                                     result, file_offset,
@@ -535,7 +535,7 @@ const struct address_space_operations ll_aops = {
 #else
 const struct address_space_operations_ext ll_aops = {
        .orig_aops.readpage       = ll_readpage,
-//     .orig_aops.readpages      = ll_readpages,
+/*     .orig_aops.readpages      = ll_readpages, */
        .orig_aops.direct_IO      = ll_direct_IO_26,
        .orig_aops.writepage      = ll_writepage,
        .orig_aops.writepages     = ll_writepages,