ext4: remove incorrect comment for NEXT_ORPHAN()
PATCH 1/1 ext4: remove incorrect comment for NEXT_ORPHAN()
From: Eric Biggers <[email protected]>
The comment above NEXT_ORPHAN() was meant for ext4_encrypted_inode(), which was moved by commit a7550b30ab70 ("ext4 crypto: migrate into vfs's crypto engine") but the comment was accidentally left in place. Since ext4_encrypted_inode() has now been removed, just remove the comment.
--- fs/ext4/ext4.h | 3 --- 1 file changed, 3 deletions(-)
fs/ext4/ext4.h +0 -3
@@ -1592,9 +1592,6 @@ static inline void ext4_clear_state_flags(struct ext4_inode_info *ei)#define EXT4_SB (sb) (sb)#endif -/* -* Returns true if the inode is inode is encrypted -*/ #define NEXT_ORPHAN (inode) EXT4_I(inode)->i_dtime/*
Signature · 1 line
2.21.0.225.g810b269d1ac-goog
Quoted 8 lines · Eric Biggers
From: Eric Biggers <[email protected]>
The comment above
NEXT_ORPHAN()was meant forext4_encrypted_inode(), which was moved by commita7550b30ab70("ext4 crypto: migrate into vfs's crypto engine") but the comment was accidentally left in place. Sinceext4_encrypted_inode()has now been removed, just remove the comment.Signed-off-by Eric Biggers <[email protected]>
Looks good. You can add:
Honza
Quoted 21 lines
--- fs/ext4/ext4.h | 3 --- 1 file changed, 3 deletions(-)fs/ext4/ext4.h +0
-3@@ -1592,9 +1592,6 @@ static inline void ext4_clear_state_flags(struct ext4_inode_info *ei)#define EXT4_SB (sb) (sb)#endif -/* -* Returns true if the inode is inode is encrypted -*/ #define NEXT_ORPHAN (inode) EXT4_I(inode)->i_dtime/* Signature · 1 line
2.21.0.225.g810b269d1ac-goog
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 8 lines · Eric Biggers
From: Eric Biggers <[email protected]>
The comment above
NEXT_ORPHAN()was meant forext4_encrypted_inode(), which was moved by commita7550b30ab70("ext4 crypto: migrate into vfs's crypto engine") but the comment was accidentally left in place. Sinceext4_encrypted_inode()has now been removed, just remove the comment.Signed-off-by Eric Biggers <[email protected]>
Thanks, applied.
- Ted