Commit 7c09a4e
committed
bdev: remove bdev pointer from struct bdev_handle
We can always go directly via:
* I_BDEV(bdev_file->f_inode)
* I_BDEV(bdev_file->f_mapping->host)
So keeping struct bdev in struct bdev_handle is redundant.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>1 parent a56aefc commit 7c09a4e
3 files changed
+14
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
891 | 890 | | |
892 | 891 | | |
893 | 892 | | |
894 | | - | |
895 | 893 | | |
896 | 894 | | |
897 | 895 | | |
898 | 896 | | |
899 | 897 | | |
900 | 898 | | |
901 | 899 | | |
902 | | - | |
| 900 | + | |
903 | 901 | | |
904 | 902 | | |
905 | 903 | | |
| |||
985 | 983 | | |
986 | 984 | | |
987 | 985 | | |
988 | | - | |
| 986 | + | |
989 | 987 | | |
990 | 988 | | |
991 | 989 | | |
992 | 990 | | |
993 | 991 | | |
994 | 992 | | |
995 | 993 | | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
1002 | 999 | | |
1003 | 1000 | | |
1004 | 1001 | | |
1005 | | - | |
| 1002 | + | |
1006 | 1003 | | |
1007 | 1004 | | |
1008 | 1005 | | |
1009 | | - | |
| 1006 | + | |
1010 | 1007 | | |
1011 | | - | |
| 1008 | + | |
| 1009 | + | |
1012 | 1010 | | |
1013 | 1011 | | |
1014 | 1012 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
522 | 521 | | |
523 | 522 | | |
524 | 523 | | |
525 | | - | |
| 524 | + | |
526 | 525 | | |
527 | 526 | | |
528 | 527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
| 626 | + | |
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| |||
0 commit comments