Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] rock: comment tidies

Be a bit more standard in comment layout.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andrew Morton and committed by
Linus Torvalds
7373909d ba40aaf0

+21 -11
+21 -11
fs/isofs/rock.c
··· 13 13 #include "isofs.h" 14 14 #include "rock.h" 15 15 16 - /* These functions are designed to read the system areas of a directory record 16 + /* 17 + * These functions are designed to read the system areas of a directory record 17 18 * and extract relevant information. There are different functions provided 18 19 * depending upon what information we need at the time. One function fills 19 20 * out an inode structure, a second one extracts a filename, a third one 20 21 * returns a symbolic link name, and a fourth one returns the extent number 21 - * for the file. */ 22 + * for the file. 23 + */ 22 24 23 25 #define SIG(A,B) ((A) | ((B) << 8)) /* isonum_721() */ 24 26 ··· 36 34 37 35 /* 38 36 * This is a way of ensuring that we have something in the system 39 - * use fields that is compatible with Rock Ridge. Return zero on success. 37 + * use fields that is compatible with Rock Ridge. Return zero on success. 40 38 */ 41 39 42 40 static int check_sp(struct rock_ridge *rr, struct inode *inode) ··· 113 111 return ret; 114 112 } 115 113 116 - /* return length of name field; 0: not found, -1: to be ignored */ 114 + /* 115 + * return length of name field; 0: not found, -1: to be ignored 116 + */ 117 117 int get_rock_ridge_filename(struct iso_directory_record *de, 118 118 char *retname, struct inode *inode) 119 119 { ··· 539 535 int parse_rock_ridge_inode(struct iso_directory_record *de, struct inode *inode) 540 536 { 541 537 int result = parse_rock_ridge_inode_internal(de, inode, 0); 542 - /* if rockridge flag was reset and we didn't look for attributes 543 - * behind eventual XA attributes, have a look there */ 538 + 539 + /* 540 + * if rockridge flag was reset and we didn't look for attributes 541 + * behind eventual XA attributes, have a look there 542 + */ 544 543 if ((ISOFS_SB(inode->i_sb)->s_rock_offset == -1) 545 544 && (ISOFS_SB(inode->i_sb)->s_rock == 2)) { 546 545 result = parse_rock_ridge_inode_internal(de, inode, 14); ··· 551 544 return result; 552 545 } 553 546 554 - /* readpage() for symlinks: reads symlink contents into the page and either 555 - makes it uptodate and returns 0 or returns error (-EIO) */ 556 - 547 + /* 548 + * readpage() for symlinks: reads symlink contents into the page and either 549 + * makes it uptodate and returns 0 or returns error (-EIO) 550 + */ 557 551 static int rock_ridge_symlink_readpage(struct file *file, struct page *page) 558 552 { 559 553 struct inode *inode = page->mapping->host; ··· 592 584 if (offset + *pnt > bufsize) 593 585 goto out_bad_span; 594 586 595 - /* Now test for possible Rock Ridge extensions which will override 596 - some of these numbers in the inode structure. */ 587 + /* 588 + * Now test for possible Rock Ridge extensions which will override 589 + * some of these numbers in the inode structure. 590 + */ 597 591 598 592 setup_rock_ridge(raw_de, inode, &rs); 599 593