]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: check return value of device flush when closing device
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 13 Mar 2020 20:53:12 +0000 (13:53 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Apr 2020 18:40:51 +0000 (11:40 -0700)
commitbbfa160ec5112418b32871dc350a5cbab97c8ead
tree77f2b970f0ca910588ccc9844b34e471eb125e26
parent767d470d7a4eb4b2621a87f68fe16bc5d3724d45
libxfs: check return value of device flush when closing device

Although the libxfs_umount function flushes all devices when unmounting
the incore filesystem, the libxfs io code will flush the device again
when the application close them.  Check and report any errors that might
happen, though this is unlikely.

Coverity-id: 1460464
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
libxfs/init.c