X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Flogfs%2Freadwrite.c;h=d8d09380c7deafd2b27e10606ef2f951fb044083;hb=07f9479a40cc778bc1462ada11f95b01360ae4ff;hp=ee99a9f5dfd3ac251b6b824a1032ce45b68b6ed7;hpb=81c2bdb68855b29a4339313a6f0d07791b663ce7;p=cascardo%2Flinux.git diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c index ee99a9f5dfd3..d8d09380c7de 100644 --- a/fs/logfs/readwrite.c +++ b/fs/logfs/readwrite.c @@ -481,7 +481,7 @@ static int inode_write_alias(struct super_block *sb, val = inode_val0(inode); break; case INODE_USED_OFS: - val = cpu_to_be64(li->li_used_bytes);; + val = cpu_to_be64(li->li_used_bytes); break; case INODE_SIZE_OFS: val = cpu_to_be64(i_size_read(inode)); @@ -1616,7 +1616,7 @@ int logfs_rewrite_block(struct inode *inode, u64 bix, u64 ofs, err = logfs_write_buf(inode, page, flags); if (!err && shrink_level(gc_level) == 0) { /* Rewrite cannot mark the inode dirty but has to - * write it immediatly. + * write it immediately. * Q: Can't we just create an alias for the inode * instead? And if not, why not? */