diff options
author | jhb <jhb@FreeBSD.org> | 2008-11-18 23:19:43 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-11-18 23:19:43 +0000 |
commit | 02487b492cffc0d3c92f6843f2660a6af8306be6 (patch) | |
tree | bfa5a4a9e5b2f3f788e7172d067d815a93183ace | |
parent | 14ea2071a81a1af520255018bc6d37f5a6260d46 (diff) | |
download | FreeBSD-src-02487b492cffc0d3c92f6843f2660a6af8306be6.zip FreeBSD-src-02487b492cffc0d3c92f6843f2660a6af8306be6.tar.gz |
- Fix a typo in a comment.
- Whitespace fix.
- Remove #if 0'd BSD 4.x code for flushing busy buffers from a mountpoint
during an unmount. FreeBSD uses vflush() for this.
-rw-r--r-- | sys/fs/cd9660/cd9660_bmap.c | 7 | ||||
-rw-r--r-- | sys/fs/cd9660/cd9660_vfsops.c | 5 | ||||
-rw-r--r-- | sys/fs/cd9660/cd9660_vnops.c | 2 |
3 files changed, 5 insertions, 9 deletions
diff --git a/sys/fs/cd9660/cd9660_bmap.c b/sys/fs/cd9660/cd9660_bmap.c index 5734501..3fa216c 100644 --- a/sys/fs/cd9660/cd9660_bmap.c +++ b/sys/fs/cd9660/cd9660_bmap.c @@ -46,9 +46,10 @@ __FBSDID("$FreeBSD$"); #include <fs/cd9660/cd9660_node.h> /* - * Bmap converts a the logical block number of a file to its physical block - * number on the disk. The conversion is done by using the logical block - * number to index into the data block (extent) for the file. + * Bmap converts the logical block number of a file to its physical + * block number on the disk. The conversion is done by using the + * logical block number to index into the data block (extent) for the + * file. */ int cd9660_bmap(ap) diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index adca4c0..6654d01 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -501,11 +501,6 @@ cd9660_unmount(mp, mntflags, td) if (mntflags & MNT_FORCE) flags |= FORCECLOSE; -#if 0 - mntflushbuf(mp, 0); - if (mntinvalbuf(mp)) - return EBUSY; -#endif if ((error = vflush(mp, 0, flags, td))) return (error); diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index 728670a..e9d6680 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -396,7 +396,7 @@ iso_shipdir(idp) cl = idp->current.d_namlen; cname = idp->current.d_name; -assoc = (cl > 1) && (*cname == ASSOCCHAR); + assoc = (cl > 1) && (*cname == ASSOCCHAR); if (assoc) { cl--; cname++; |