Commit 715cd66
Al Viro
simple_fill_super(): don't bother with d_genocide() on failure
Failing ->fill_super() will be followed by ->kill_sb(), which should
include kill_litter_super() if the call of simple_fill_super() had
been asked to create anything besides the root dentry. So there's
no need to empty the partially populated tree - it will be trimmed
by inevitable kill_litter_super().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>1 parent f9453a1 commit 715cd66
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
915 | | - | |
916 | 915 | | |
917 | 916 | | |
918 | 917 | | |
| |||
935 | 934 | | |
936 | 935 | | |
937 | 936 | | |
938 | | - | |
939 | | - | |
| 937 | + | |
| 938 | + | |
940 | 939 | | |
941 | 940 | | |
942 | 941 | | |
| |||
948 | 947 | | |
949 | 948 | | |
950 | 949 | | |
951 | | - | |
| 950 | + | |
952 | 951 | | |
953 | | - | |
| 952 | + | |
954 | 953 | | |
955 | 954 | | |
956 | 955 | | |
957 | | - | |
| 956 | + | |
958 | 957 | | |
959 | 958 | | |
960 | 959 | | |
961 | 960 | | |
962 | 961 | | |
963 | 962 | | |
964 | 963 | | |
965 | | - | |
966 | 964 | | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | 965 | | |
973 | 966 | | |
974 | 967 | | |
| |||
0 commit comments