Filipe Manana
2199cb0f5e
btrfs: simplify error check condition at btrfs_dirty_inode()
...
The following condition at btrfs_dirty_inode() is redundant:
if (ret && (ret == -ENOSPC || ret == -EDQUOT))
The first check for a non-zero 'ret' value is pointless, we can simplify
this to simply:
if (ret == -ENOSPC || ret == -EDQUOT)
Not only this makes it easier to read, it also slightly reduces the text
size of the btrfs kernel module:
$ size fs/btrfs/btrfs.ko.before
text data bss dec hex filename
1641400 168265 16864 1826529 1bdee1 fs/btrfs/btrfs.ko.before
$ size fs/btrfs/btrfs.ko.after
text data bss dec hex filename
1641224 168181 16864 1826269 1bdddd fs/btrfs/btrfs.ko.after
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-10-12 16:44:12 +02:00
..
2023-10-12 16:44:07 +02:00
2022-12-05 18:00:58 +01:00
2023-10-12 16:44:11 +02:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2023-10-12 16:44:10 +02:00
2023-10-12 16:44:10 +02:00
2023-10-12 16:44:11 +02:00
2023-10-12 16:44:07 +02:00
2023-10-12 16:44:10 +02:00
2023-06-19 13:59:36 +02:00
2023-10-12 16:44:10 +02:00
2023-08-21 14:52:12 +02:00
2023-10-12 16:44:09 +02:00
2023-06-19 13:59:24 +02:00
2023-10-12 16:44:04 +02:00
2023-10-12 16:44:07 +02:00
2023-06-19 13:59:36 +02:00
2023-10-12 16:44:12 +02:00
2023-10-12 16:44:12 +02:00
2023-06-19 13:59:30 +02:00
2022-12-05 18:00:46 +01:00
2023-10-12 16:44:08 +02:00
2022-12-05 18:00:44 +01:00
2023-10-12 16:44:10 +02:00
2023-10-11 11:37:19 +02:00
2023-10-12 16:44:11 +02:00
2023-10-12 16:44:11 +02:00
2023-10-12 16:44:07 +02:00
2022-12-05 18:00:47 +01:00
2023-10-12 16:44:07 +02:00
2023-10-12 16:44:02 +02:00
2023-06-19 13:59:25 +02:00
2023-06-19 13:59:25 +02:00
2023-10-12 16:44:12 +02:00
2023-10-12 16:44:07 +02:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:41 +01:00
2023-10-12 16:44:09 +02:00
2023-10-12 16:44:05 +02:00
2023-08-18 14:38:10 +02:00
2023-06-19 13:59:33 +02:00
2023-08-21 14:52:12 +02:00
2023-08-21 14:52:12 +02:00
2023-10-12 16:44:12 +02:00
2023-10-12 16:44:12 +02:00
2023-10-12 16:44:07 +02:00
2023-08-21 14:54:48 +02:00
2023-10-12 16:44:11 +02:00
2022-12-05 18:00:56 +01:00
2023-10-12 16:44:07 +02:00
2023-06-19 13:59:24 +02:00
2023-10-12 16:44:07 +02:00
2023-05-10 14:51:27 +02:00
2023-02-13 17:50:35 +01:00
2023-10-12 16:44:11 +02:00
2023-10-12 16:44:11 +02:00
2023-10-12 16:44:02 +02:00
2023-10-12 16:44:12 +02:00
2023-10-12 16:44:12 +02:00
2023-01-19 09:24:27 +01:00
2023-10-12 16:44:05 +02:00
2023-10-12 16:44:09 +02:00
2023-09-08 14:10:49 +02:00
2023-02-15 19:38:50 +01:00
2023-04-17 18:01:18 +02:00
2023-06-19 13:59:34 +02:00
2023-10-12 16:44:09 +02:00
2023-10-12 16:44:07 +02:00
2023-10-12 16:44:07 +02:00
2023-08-24 16:20:18 -07:00
2023-10-12 16:44:10 +02:00
2023-10-12 16:44:09 +02:00
2022-12-05 18:00:47 +01:00
2022-12-05 18:00:47 +01:00
2023-10-12 16:44:11 +02:00
2023-06-19 13:59:22 +02:00
2023-10-12 16:44:02 +02:00
2022-12-05 18:00:40 +01:00
2023-10-12 16:44:12 +02:00
2023-10-12 16:44:11 +02:00
2023-08-21 14:54:48 +02:00
2023-08-21 14:52:12 +02:00
2023-10-12 16:44:10 +02:00
2023-10-12 16:44:09 +02:00
2022-12-05 18:00:59 +01:00
2023-10-12 16:44:11 +02:00
2019-04-29 19:02:49 +02:00
2023-07-13 10:28:04 +02:00
2020-03-23 17:01:54 +01:00
2023-10-12 16:44:12 +02:00
2023-06-19 13:59:36 +02:00
2023-10-12 16:44:10 +02:00
2023-10-12 16:44:04 +02:00
2023-10-12 16:44:09 +02:00
2023-04-17 18:01:24 +02:00
2023-10-12 16:44:02 +02:00
2022-12-05 18:00:41 +01:00
2023-10-12 16:44:06 +02:00
2023-10-12 16:44:05 +02:00
2023-06-19 13:59:35 +02:00
2023-06-19 13:59:35 +02:00
2023-10-12 16:44:07 +02:00
2022-12-05 18:00:47 +01:00
2023-10-12 16:44:10 +02:00
2023-02-13 17:50:35 +01:00
2023-10-12 16:44:11 +02:00
2023-10-12 16:44:07 +02:00
2023-10-12 16:44:11 +02:00
2023-06-19 13:59:25 +02:00
2023-10-12 16:44:11 +02:00
2023-06-19 13:59:26 +02:00
2023-06-19 13:59:38 +02:00
2022-12-05 18:00:48 +01:00
2023-10-12 16:44:04 +02:00
2022-12-05 18:00:50 +01:00
2023-10-12 16:44:07 +02:00
2022-12-05 18:00:46 +01:00
2023-09-13 18:40:54 +02:00
2022-12-05 18:00:47 +01:00
2023-10-12 16:44:09 +02:00
2023-10-12 16:44:09 +02:00
2023-10-12 16:44:07 +02:00
2019-04-29 19:02:44 +02:00
2023-06-19 13:59:34 +02:00
2023-10-12 16:44:09 +02:00
2023-08-21 14:52:19 +02:00
2023-10-12 16:44:04 +02:00