gfs2: Remove inode from ordered write list in gfs2_write_inode()
authorAbhi Das <adas@redhat.com>
Tue, 30 Jan 2018 17:00:09 +0000 (10:00 -0700)
committerBob Peterson <rpeterso@redhat.com>
Tue, 30 Jan 2018 17:00:27 +0000 (10:00 -0700)
commit957a7acd46e64c52d2a1d59cd7273ed49455afb6
tree799a8c20a32b18690203eb0f69f71a83cc1d2ff2
parent2eb5909dee9bcce9c0befdef48c00f1132d9de2e
gfs2: Remove inode from ordered write list in gfs2_write_inode()

The vfs clears the I_DIRTY inode flag before calling gfs2_write_inode()
having queued any data that needed to be written to disk.
This is a good time to remove such inodes from our ordered write list
so they don't hang around for long periods of time.

Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/super.c