]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: cleanup 'start' subtraction from try uncompressed inline extent
authorTimofey Titovets <nefelim4ag@gmail.com>
Thu, 14 Sep 2017 22:57:26 +0000 (01:57 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:57 +0000 (12:27 +0100)
commit68f84d98b6abe3d59524f58dd154910cd75210c1
tree2957a1b6f7574b49b8a89c8dbf9d00cd4ef5c788
parentd7a7b144a57665af4d837ff87f1030868b2d8b72
Btrfs: cleanup 'start' subtraction from try uncompressed inline extent

Was added in:
  6dfc57b3beec5f759ab79d5279defe4eaacc8660
  "Btrfs: Add zlib compression support"
Survive to near time (from 08.10.2008).

Because 'start' checked for zero before branch, so it's safe to remove
that subtraction.

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
Reviewed-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c