]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
gfs2: Some whitespace cleanups
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 31 Aug 2019 20:29:12 +0000 (21:29 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 30 Oct 2019 11:17:04 +0000 (12:17 +0100)
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c
fs/gfs2/file.c
fs/gfs2/quota.c

index b9fe975d7625a2b5c4d3e840e30c92a7d5abce70..765e40aad985636d8565365a6131dbc57315c14b 100644 (file)
@@ -133,7 +133,7 @@ static int gfs2_write_full_page(struct page *page, get_block_t *get_block,
         * the  page size, the remaining memory is zeroed when mapped, and
         * writes to that region are not written out to the file."
         */
-       offset = i_size & (PAGE_SIZE-1);
+       offset = i_size & (PAGE_SIZE - 1);
        if (page->index == end_index && offset)
                zero_user_segment(page, offset, PAGE_SIZE);
 
index 997b326247e26c9432cb87e94688e716b0debd49..33ace18322942db31727037d61bcd98fe9296559 100644 (file)
@@ -933,6 +933,7 @@ static int fallocate_chunk(struct inode *inode, loff_t offset, loff_t len,
        brelse(dibh);
        return error;
 }
+
 /**
  * calc_max_reserv() - Reverse of write_calc_reserv. Given a number of
  *                     blocks, determine how many bytes can be written.
index 7c016a082aa68cd963d39deb0bb99df90df8abbf..8206fa0e8d2c934939c4ad1a5391840789986669 100644 (file)
@@ -1273,7 +1273,7 @@ int gfs2_quota_sync(struct super_block *sb, int type)
 {
        struct gfs2_sbd *sdp = sb->s_fs_info;
        struct gfs2_quota_data **qda;
-       unsigned int max_qd = PAGE_SIZE/sizeof(struct gfs2_holder);
+       unsigned int max_qd = PAGE_SIZE / sizeof(struct gfs2_holder);
        unsigned int num_qd;
        unsigned int x;
        int error = 0;