summaryrefslogtreecommitdiffstats
path: root/fs/signalfd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-13 00:52:51 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-13 18:37:15 +0100
commit13859c984301ac4c1b2b3504b9f342aaddaa4a8a (patch)
tree5f8d34aeb36c643c6395f956c2a4c0cd8b8f6c70 /fs/signalfd.c
parentxfs: remove dead code from xfs_log_unmount_write (diff)
downloadlinux-13859c984301ac4c1b2b3504b9f342aaddaa4a8a.tar.xz
linux-13859c984301ac4c1b2b3504b9f342aaddaa4a8a.zip
xfs: cleanup xfs_log_unmount_write
Move the code for verifying the iclog state on a clean unmount into a helper, and instead of checking the iclog state just rely on the shutdown check as they are equivalent. Also remove the ifdef DEBUG as the compiler is smart enough to eliminate the dead code for non-debug builds. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/signalfd.c')
0 files changed, 0 insertions, 0 deletions