projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15996a8
)
ext4: drop unused ext4_es_store_status()
author
Zhang Yi
<yi.zhang@huawei.com>
Tue, 13 Aug 2024 12:34:49 +0000
(20:34 +0800)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 2 Sep 2024 19:26:14 +0000
(15:26 -0400)
The helper ext4_es_store_status() is unused now, just drop it.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link:
https://patch.msgid.link/20240813123452.2824659-10-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents_status.h
patch
|
blob
|
history
diff --git
a/fs/ext4/extents_status.h
b/fs/ext4/extents_status.h
index 47b3b55a852c39ebc7f9ec1bd200218a7050506f..3ca40f0189947e855cdfc79bb70cbb88fc8fa46c 100644
(file)
--- a/
fs/ext4/extents_status.h
+++ b/
fs/ext4/extents_status.h
@@
-224,13
+224,6
@@
static inline void ext4_es_store_pblock(struct extent_status *es,
es->es_pblk = block;
}
-static inline void ext4_es_store_status(struct extent_status *es,
- unsigned int status)
-{
- es->es_pblk = (((ext4_fsblk_t)status << ES_SHIFT) & ES_MASK) |
- (es->es_pblk & ~ES_MASK);
-}
-
static inline void ext4_es_store_pblock_status(struct extent_status *es,
ext4_fsblk_t pb,
unsigned int status)