18 Jun, 2011
1 commit
-
Removes code no longer used. The sysfs file itself is kept, because the
btrfs developers expressed interest in putting new entries to sysfs.Signed-off-by: Maarten Lankhorst
Signed-off-by: Chris Mason
23 May, 2011
1 commit
-
Conflicts:
fs/btrfs/extent-tree.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c
fs/btrfs/tree-log.cSigned-off-by: Chris Mason
06 May, 2011
1 commit
-
Remove static and global declarations and/or definitions. Reduces size
of btrfs.ko by ~3.4kB.text data bss dec hex filename
402081 7464 200 409745 64091 btrfs.ko.base
398620 7144 200 405964 631cc btrfs.ko.remove-allSigned-off-by: David Sterba
08 Mar, 2010
1 commit
-
Constify struct sysfs_ops.
This is part of the ops structure constification
effort started by Arjan van de Ven et al.Benefits of this constification:
* prevents modification of data that is shared
(referenced) by many other structure instances
at runtime* detects/prevents accidental (but not intentional)
modification attempts on archs that enforce
read-only kernel data at runtime* potentially better optimized code as the compiler
can assume that the const data cannot be changed* the compiler/linker move const data into .rodata
and therefore exclude them from false sharingSigned-off-by: Emese Revfy
Acked-by: David Teigland
Acked-by: Matt Domsch
Acked-by: Maciej Sosnowski
Acked-by: Hans J. Koch
Acked-by: Pekka Enberg
Acked-by: Jens Axboe
Acked-by: Stephen Hemminger
Signed-off-by: Greg Kroah-Hartman
06 Jan, 2009
2 commits
-
There were many, most are fixed now. struct-funcs.c generates some warnings
but these are bogus.Signed-off-by: Chris Mason
-
Signed-off-by: Shen Feng
26 Sep, 2008
1 commit
-
Btrfs had compatibility code for kernels back to 2.6.18. These have
been removed, and will be maintained in a separate backport
git tree from now on.Signed-off-by: Chris Mason
25 Sep, 2008
7 commits
-
Fix a bunch of trivial sparse complaints.
Signed-off-by: Christoph Hellwig
Signed-off-by: Chris Mason -
Signed-off-by: Chris Mason
-
Here's a patch against the unstable tree that gets the code to build
against Linus's current tree (2.6.24-git12). This is needed as the
kobject/kset api has changed there.I tried to make the smallest changes needed, and it builds and loads
successfully, but I don't have a btrfs volume anywhere (yet) to try to
see if things still work properly :)Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Chris Mason -
Signed-off-by: Chris Mason
-
Just use kobject_set_name(), that works in all kernels (I think...).
Kernels newer than 2.6.23 currently fail with:/home/axboe/git/btrfs/btrfs-unstable/sysfs.c:188: error: unknown field
'name' specified in initializerSigned-off-by: Chris Mason
-
Signed-off-by: Chris Mason
-
Signed-off-by: Chris Mason
30 Aug, 2007
1 commit
-
Signed-off-by: Chris Mason
11 Jul, 2007
1 commit
-
Almost none of the files including module.h need to do so,
remove them.Include sched.h in extent-tree.c to silence a warning about cond_resched()
being undeclared.Signed-off-by: Zach Brown
Signed-off-by: Chris Mason
12 Jun, 2007
1 commit
-
Signed-off-by: Chris Mason
05 Apr, 2007
1 commit
-
Signed-off-by: Chris Mason