ext4: use ASSERT() to replace J_ASSERT()
There are currently multiple forms of assertion, such as J_ASSERT(). J_ASEERT() is provided for the jbd module, which is a public module. Maybe we should use custom ASSERT() like other file systems, such as xfs, which would be better. Signed-off-by:Chunguang Xu <brookxu@tencent.com> Reviewed-by:
Andreas Dilger <adilger@dilger.ca> Link: https://lore.kernel.org/r/1604764698-4269-1-git-send-email-brookxu@tencent.com Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
Showing
- fs/ext4/balloc.c 1 addition, 1 deletionfs/ext4/balloc.c
- fs/ext4/ext4.h 10 additions, 0 deletionsfs/ext4/ext4.h
- fs/ext4/fsync.c 1 addition, 1 deletionfs/ext4/fsync.c
- fs/ext4/indirect.c 2 additions, 2 deletionsfs/ext4/indirect.c
- fs/ext4/inode.c 5 additions, 5 deletionsfs/ext4/inode.c
- fs/ext4/namei.c 4 additions, 8 deletionsfs/ext4/namei.c
- fs/ext4/super.c 1 addition, 1 deletionfs/ext4/super.c
Loading
Please register or sign in to comment