summaryrefslogtreecommitdiff
path: root/fs.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-28 18:37:41 +0000
committerrsc <rsc>2007-08-28 18:37:41 +0000
commit5516be1fed10ac87848668964c495266d02ae915 (patch)
treeb3f85375a1ccd347861e9eea34d644cc9824c444 /fs.c
parente4d6a21165c01dd743a68e323fb06708ef820ab7 (diff)
downloadxv6-labs-5516be1fed10ac87848668964c495266d02ae915.tar.gz
xv6-labs-5516be1fed10ac87848668964c495266d02ae915.tar.bz2
xv6-labs-5516be1fed10ac87848668964c495266d02ae915.zip
spaces around else for rtm
Diffstat (limited to 'fs.c')
-rw-r--r--fs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs.c b/fs.c
index 3521881..f0ae0c5 100644
--- a/fs.c
+++ b/fs.c
@@ -358,7 +358,6 @@ bmap(struct inode *ip, uint bn, int alloc)
panic("bmap: out of range");
}
-// PAGEBREAK: 30
// Truncate inode (discard contents).
static void
itrunc(struct inode *ip)
@@ -565,7 +564,7 @@ skipelem(char *path, char *name)
len = path - s;
if(len >= DIRSIZ)
memmove(name, s, DIRSIZ);
- else{
+ else {
memmove(name, s, len);
name[len] = 0;
}