ubifs: remove broken lazytime support
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Apr 2020 11:33:05 +0000 (13:33 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 9 Apr 2020 20:03:56 +0000 (22:03 +0200)
commitecf84096a526f2632ee85c32a3d05de3fa60ce80
tree5e36e24b4f90248c679a22ac61022cedfdc5a60a
parentc0cc271173b2e1c2d8d0ceaef14e4dfa79eefc0d
ubifs: remove broken lazytime support

When "ubifs: introduce UBIFS_ATIME_SUPPORT to ubifs" introduced atime
support to ubifs, it also added lazytime support.  As far as I can tell
the lazytime support is terminally broken, as it causes
mark_inode_dirty_sync to be called from __writeback_single_inode, which
will then trigger the locking assert in ubifs_dirty_inode.  Just remove
the broken lazytime support for now, it can be added back later,
especially as some infrastructure changes should make that easier soon.

Fixes: 8c1c5f263833 ("ubifs: introduce UBIFS_ATIME_SUPPORT to ubifs")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/file.c