Commit 8ba8e95ed14a2771bbcb43300feda094f298853e

Authored by Kalin KOZHUHAROV
Committed by Adrian Bunk
1 parent 36a891b67f

Fix comments: s/granuality/granularity/

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.

Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>

Showing 2 changed files with 5 additions and 5 deletions Side-by-side Diff

... ... @@ -864,7 +864,7 @@
864 864 */
865 865 struct mutex s_vfs_rename_mutex; /* Kludge */
866 866  
867   - /* Granuality of c/m/atime in ns.
  867 + /* Granularity of c/m/atime in ns.
868 868 Cannot be worse than a second */
869 869 u32 s_time_gran;
870 870 };
... ... @@ -410,7 +410,7 @@
410 410 * current_fs_time - Return FS time
411 411 * @sb: Superblock.
412 412 *
413   - * Return the current time truncated to the time granuality supported by
  413 + * Return the current time truncated to the time granularity supported by
414 414 * the fs.
415 415 */
416 416 struct timespec current_fs_time(struct super_block *sb)
417 417  
418 418  
... ... @@ -421,11 +421,11 @@
421 421 EXPORT_SYMBOL(current_fs_time);
422 422  
423 423 /**
424   - * timespec_trunc - Truncate timespec to a granuality
  424 + * timespec_trunc - Truncate timespec to a granularity
425 425 * @t: Timespec
426   - * @gran: Granuality in ns.
  426 + * @gran: Granularity in ns.
427 427 *
428   - * Truncate a timespec to a granuality. gran must be smaller than a second.
  428 + * Truncate a timespec to a granularity. gran must be smaller than a second.
429 429 * Always rounds down.
430 430 *
431 431 * This function should be only used for timestamps returned by