projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b81edab
)
btrfs-progs: reduce size of btrfs_path::reada
author
David Sterba
<dsterba@suse.com>
Thu, 3 Nov 2016 15:55:35 +0000
(16:55 +0100)
committer
David Sterba
<dsterba@suse.com>
Wed, 9 Nov 2016 12:47:31 +0000
(13:47 +0100)
We use only a few values, reada accessed not in performance critical
contexts.
Signed-off-by: David Sterba <dsterba@suse.com>
ctree.h
patch
|
blob
|
history
diff --git
a/ctree.h
b/ctree.h
index
52ddd52
..
df088d1
100644
(file)
--- a/
ctree.h
+++ b/
ctree.h
@@
-559,7
+559,7
@@
struct btrfs_path {
/* The kernel locking sheme is not done in userspace. */
int locks[BTRFS_MAX_LEVEL];
#endif
-
int
reada;
+
signed char
reada;
/* keep some upper locks as we walk down */
int lowest_level;