Merge tag 'gfs2-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Aug 2020 01:22:43 +0000 (18:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Aug 2020 01:22:43 +0000 (18:22 -0700)
Pull gfs2 updates from Andreas Gruenbacher:

 - Make sure transactions won't be started recursively in
   gfs2_block_zero_range (bug introduced in 5.4 when switching to
   iomap_zero_range)

 - Fix a glock holder refcount leak introduced in the iopen glock
   locking scheme rework merged in 5.8.

 - A few other small improvements (debugging, stack usage, comment
   fixes).

* tag 'gfs2-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
  gfs2: When gfs2_dirty_inode gets a glock error, dump the glock
  gfs2: Never call gfs2_block_zero_range with an open transaction
  gfs2: print details on transactions that aren't properly ended
  gfs2: Fix inaccurate comment
  fs: Fix typo in comment
  gfs2: Fix refcount leak in gfs2_glock_poke
  gfs2: Pass glock holder to gfs2_file_direct_{read,write}
  gfs2: Add some flags missing from glock output

1  2 
fs/gfs2/bmap.c
fs/gfs2/file.c
include/linux/fs.h

diff --cc fs/gfs2/bmap.c
Simple merge
diff --cc fs/gfs2/file.c
index b085a3bea4f0fdbc5f5c878e73064cdd93bde816,847adb97380d35ea802fbdfb723aee7c6fc14830..b39b339feddc934c39f58c1374695e98aeac32de
@@@ -835,12 -835,11 +835,12 @@@ static ssize_t gfs2_file_direct_write(s
  
        ret = iomap_dio_rw(iocb, from, &gfs2_iomap_ops, NULL,
                           is_sync_kiocb(iocb));
 -
 +      if (ret == -ENOTBLK)
 +              ret = 0;
  out:
-       gfs2_glock_dq(&gh);
+       gfs2_glock_dq(gh);
  out_uninit:
-       gfs2_holder_uninit(&gh);
+       gfs2_holder_uninit(gh);
        return ret;
  }
  
Simple merge