diff options
author | Robert Morris <[email protected]> | 2017-08-29 14:11:59 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2017-08-29 14:11:59 -0400 |
commit | 4638cabf8c52c5f08f83942103f2375d2ed46388 (patch) | |
tree | 0ff969a00aac465b9c04866b41697bc3e775f815 /fs.c | |
parent | 164f4bae54286e1635b24efa03a1c565b9048b4a (diff) | |
download | xv6-labs-4638cabf8c52c5f08f83942103f2375d2ed46388.tar.gz xv6-labs-4638cabf8c52c5f08f83942103f2375d2ed46388.tar.bz2 xv6-labs-4638cabf8c52c5f08f83942103f2375d2ed46388.zip |
fix runoff complaints about pagination and long lines
Diffstat (limited to 'fs.c')
-rw-r--r-- | fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -155,12 +155,12 @@ bfree(int dev, uint b) // have locked the inodes involved; this lets callers create // multi-step atomic operations. // -// The icache.lock spin-lock defends the allocation of icache +// The icache.lock spin-lock protects the allocation of icache // entries. Since ip->ref indicates whether an entry is free, // and ip->dev and ip->inum indicate which i-node an entry // holds, one must hold icache.lock while using any of those fields. // -// An ip->lock sleep-lock defends all ip-> fields other than ref, +// An ip->lock sleep-lock protects all ip-> fields other than ref, // dev, and inum. One must hold ip->lock in order to // read or write that inode's ip->valid, ip->size, ip->type, &c. |