diff options
author | Dan Cross <[email protected]> | 2019-03-20 17:28:13 +0000 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2019-08-19 19:25:43 -0400 |
commit | 82638c019ced44651d65c99aaa7c698676c217be (patch) | |
tree | fd3c7c1894a7fe4a220d2cc46112f9bfec6f984e /kernel/fs.c | |
parent | 0581c37baf8950ae9602a1419498a800f9fade4f (diff) | |
download | xv6-labs-82638c019ced44651d65c99aaa7c698676c217be.tar.gz xv6-labs-82638c019ced44651d65c99aaa7c698676c217be.tar.bz2 xv6-labs-82638c019ced44651d65c99aaa7c698676c217be.zip |
Avoid rereading the superblock in bfree
The superblock is read when the first process returns to
userspace (via the call to `iinit` from the first invocation of
`forkret`, when `first` is still set to 1) and cached in a
global; it is treated as immutable from that point on. There is
no reason to re-read it in bfree.
Removing this call seems to have simply been missed in 8320d61b
when this general area was last touched. Remove it now to avoid
potential confusion.
Signed-off-by: Dan Cross <[email protected]>
Diffstat (limited to 'kernel/fs.c')
0 files changed, 0 insertions, 0 deletions