f2fs: support .shutdown in f2fs_sops
authorChao Yu <chao@kernel.org>
Thu, 29 Feb 2024 14:38:38 +0000 (22:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 26 Mar 2024 02:13:08 +0000 (02:13 +0000)
commitee745e4736fbf33079d0d0808e1343c2280fd59a
tree99a73f8a46c53540a2396d0b8aa27b68a4bf2b8b
parent928a87efa42302a23bb9554be081a28058495f22
f2fs: support .shutdown in f2fs_sops

Support .shutdown callback in f2fs_sops, then, it can be called to
shut down the file system when underlying block device is marked dead.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/super.c