Fix comments in 2.6.16-rc6: s/granuality/granularity/
PATCH 1/1 Fix comments in 2.6.16-rc6: s/granuality/granularity/
Hi there,
I was grepping through the code and some grep ganularity -R . didn't catch what I thought. Then looking closer I saw the term "granuality" used in only four places (in comments) and granularity in many more places describing the same idea. Some other facts:
dictionary.com does not know such a word
define:granuality on google is not found (and pages for granuality are mostly related to patches to the kernel)
it has not been discussed as a term on LKML, AFAICS (=Can Search)
To be consistent, I think granularity should be used everywhere.
Here is the patch for the latest 2.6.16-rc6.
All trivial, all comments only, not "affecting kernel stability". If somebody can take care to push it for rc7, if not for later.
I reading LKML, but please CC me if you decide to to (not) accept it.
Kalin.
Signature · 45 lines
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]| +-> http://ThinRope.net/ <-+ |[ ______________________ ]| Signed-off-by: Kalin KOZHUHAROV <[email protected]> diff -Nru linux-2.6.16-rc6-V/include/linux/fs.h linux-2.6.16-rc6-K/include/linux/fs.h --- linux-2.6.16-rc6-V/include/linux/fs.h 2006-03-13 03:04:36.000000000 +0900 +++ linux-2.6.16-rc6-K/include/linux/fs.h 2006-03-13 03:12:46.000000000 +0900 @@ -849,7 +849,7 @@ */ struct semaphore s_vfs_rename_sem; /* Kludge */ - /* Granuality of c/m/atime in ns. + /* Granularity of c/m/atime in ns. Cannot be worse than a second */ u32 s_time_gran; }; diff -Nru linux-2.6.16-rc6-V/kernel/time.c linux-2.6.16-rc6-K/kernel/time.c --- linux-2.6.16-rc6-V/kernel/time.c 2006-03-13 03:04:40.000000000 +0900 +++ linux-2.6.16-rc6-K/kernel/time.c 2006-03-13 03:11:58.000000000 +0900 @@ -437,7 +437,7 @@ * current_fs_time - Return FS time * @sb: Superblock. * - * Return the current time truncated to the time granuality supported by + * Return the current time truncated to the time granularity supported by * the fs. */ struct timespec current_fs_time(struct super_block *sb) @@ -448,11 +448,11 @@ EXPORT_SYMBOL(current_fs_time); /** - * timespec_trunc - Truncate timespec to a granuality + * timespec_trunc - Truncate timespec to a granularity * @t: Timespec - * @gran: Granuality in ns. + * @gran: Granularity in ns. * - * Truncate a timespec to a granuality. gran must be smaller than a second. + * Truncate a timespec to a granularity. gran must be smaller than a second. * Always rounds down. * * This function should be only used for timestamps returned by