diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-11-10 06:25:36 -0500 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-12-22 06:25:23 -0500 |
commit | e60f749b60979e333764b8e9143aad7a7bdea0fa (patch) | |
tree | ca179e31066fd2d483e7b484e2a2c8baede06610 /fs/befs/linuxvfs.c | |
parent | 50b00fc468ddf9cb47a00b62c25fcbf86fcce56f (diff) |
befs: remove trailing whitespaces
Removing all trailing whitespaces in befs.
I was skeptic about tainting the history with this, but whitespace changes
can be ignored by using 'git blame -w' and 'git log -w'.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r-- | fs/befs/linuxvfs.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 8e4e18e10bdd..4cfead66decc 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
@@ -84,9 +84,9 @@ static const struct address_space_operations befs_symlink_aops = { | |||
84 | .readpage = befs_symlink_readpage, | 84 | .readpage = befs_symlink_readpage, |
85 | }; | 85 | }; |
86 | 86 | ||
87 | /* | 87 | /* |
88 | * Called by generic_file_read() to read a page of data | 88 | * Called by generic_file_read() to read a page of data |
89 | * | 89 | * |
90 | * In turn, simply calls a generic block read function and | 90 | * In turn, simply calls a generic block read function and |
91 | * passes it the address of befs_get_block, for mapping file | 91 | * passes it the address of befs_get_block, for mapping file |
92 | * positions to disk blocks. | 92 | * positions to disk blocks. |
@@ -103,8 +103,8 @@ befs_bmap(struct address_space *mapping, sector_t block) | |||
103 | return generic_block_bmap(mapping, block, befs_get_block); | 103 | return generic_block_bmap(mapping, block, befs_get_block); |
104 | } | 104 | } |
105 | 105 | ||
106 | /* | 106 | /* |
107 | * Generic function to map a file position (block) to a | 107 | * Generic function to map a file position (block) to a |
108 | * disk offset (passed back in bh_result). | 108 | * disk offset (passed back in bh_result). |
109 | * | 109 | * |
110 | * Used by many higher level functions. | 110 | * Used by many higher level functions. |
@@ -337,7 +337,7 @@ static struct inode *befs_iget(struct super_block *sb, unsigned long ino) | |||
337 | /* | 337 | /* |
338 | * set uid and gid. But since current BeOS is single user OS, so | 338 | * set uid and gid. But since current BeOS is single user OS, so |
339 | * you can change by "uid" or "gid" options. | 339 | * you can change by "uid" or "gid" options. |
340 | */ | 340 | */ |
341 | 341 | ||
342 | inode->i_uid = befs_sb->mount_opts.use_uid ? | 342 | inode->i_uid = befs_sb->mount_opts.use_uid ? |
343 | befs_sb->mount_opts.uid : | 343 | befs_sb->mount_opts.uid : |
@@ -352,14 +352,14 @@ static struct inode *befs_iget(struct super_block *sb, unsigned long ino) | |||
352 | * BEFS's time is 64 bits, but current VFS is 32 bits... | 352 | * BEFS's time is 64 bits, but current VFS is 32 bits... |
353 | * BEFS don't have access time. Nor inode change time. VFS | 353 | * BEFS don't have access time. Nor inode change time. VFS |
354 | * doesn't have creation time. | 354 | * doesn't have creation time. |
355 | * Also, the lower 16 bits of the last_modified_time and | 355 | * Also, the lower 16 bits of the last_modified_time and |
356 | * create_time are just a counter to help ensure uniqueness | 356 | * create_time are just a counter to help ensure uniqueness |
357 | * for indexing purposes. (PFD, page 54) | 357 | * for indexing purposes. (PFD, page 54) |
358 | */ | 358 | */ |
359 | 359 | ||
360 | inode->i_mtime.tv_sec = | 360 | inode->i_mtime.tv_sec = |
361 | fs64_to_cpu(sb, raw_inode->last_modified_time) >> 16; | 361 | fs64_to_cpu(sb, raw_inode->last_modified_time) >> 16; |
362 | inode->i_mtime.tv_nsec = 0; /* lower 16 bits are not a time */ | 362 | inode->i_mtime.tv_nsec = 0; /* lower 16 bits are not a time */ |
363 | inode->i_ctime = inode->i_mtime; | 363 | inode->i_ctime = inode->i_mtime; |
364 | inode->i_atime = inode->i_mtime; | 364 | inode->i_atime = inode->i_mtime; |
365 | 365 | ||
@@ -441,7 +441,7 @@ befs_init_inodecache(void) | |||
441 | } | 441 | } |
442 | 442 | ||
443 | /* Called at fs teardown. | 443 | /* Called at fs teardown. |
444 | * | 444 | * |
445 | * Taken from NFS implementation by Al Viro. | 445 | * Taken from NFS implementation by Al Viro. |
446 | */ | 446 | */ |
447 | static void | 447 | static void |
@@ -491,7 +491,7 @@ fail: | |||
491 | 491 | ||
492 | /* | 492 | /* |
493 | * UTF-8 to NLS charset convert routine | 493 | * UTF-8 to NLS charset convert routine |
494 | * | 494 | * |
495 | * Uses uni2char() / char2uni() rather than the nls tables directly | 495 | * Uses uni2char() / char2uni() rather than the nls tables directly |
496 | */ | 496 | */ |
497 | static int | 497 | static int |
@@ -556,18 +556,18 @@ conv_err: | |||
556 | * @in_len: Length of input string in bytes | 556 | * @in_len: Length of input string in bytes |
557 | * @out: The output string in UTF-8 format | 557 | * @out: The output string in UTF-8 format |
558 | * @out_len: Length of the output buffer | 558 | * @out_len: Length of the output buffer |
559 | * | 559 | * |
560 | * Converts input string @in, which is in the format of the loaded NLS map, | 560 | * Converts input string @in, which is in the format of the loaded NLS map, |
561 | * into a utf8 string. | 561 | * into a utf8 string. |
562 | * | 562 | * |
563 | * The destination string @out is allocated by this function and the caller is | 563 | * The destination string @out is allocated by this function and the caller is |
564 | * responsible for freeing it with kfree() | 564 | * responsible for freeing it with kfree() |
565 | * | 565 | * |
566 | * On return, *@out_len is the length of @out in bytes. | 566 | * On return, *@out_len is the length of @out in bytes. |
567 | * | 567 | * |
568 | * On success, the return value is the number of utf8 characters written to | 568 | * On success, the return value is the number of utf8 characters written to |
569 | * the output buffer @out. | 569 | * the output buffer @out. |
570 | * | 570 | * |
571 | * On Failure, a negative number coresponding to the error code is returned. | 571 | * On Failure, a negative number coresponding to the error code is returned. |
572 | */ | 572 | */ |
573 | 573 | ||
@@ -719,7 +719,7 @@ parse_options(char *options, struct befs_mount_options *opts) | |||
719 | } | 719 | } |
720 | 720 | ||
721 | /* This function has the responsibiltiy of getting the | 721 | /* This function has the responsibiltiy of getting the |
722 | * filesystem ready for unmounting. | 722 | * filesystem ready for unmounting. |
723 | * Basically, we free everything that we allocated in | 723 | * Basically, we free everything that we allocated in |
724 | * befs_read_inode | 724 | * befs_read_inode |
725 | */ | 725 | */ |
@@ -780,7 +780,7 @@ befs_fill_super(struct super_block *sb, void *data, int silent) | |||
780 | * Linux 2.4.10 and later refuse to read blocks smaller than | 780 | * Linux 2.4.10 and later refuse to read blocks smaller than |
781 | * the logical block size for the device. But we also need to read at | 781 | * the logical block size for the device. But we also need to read at |
782 | * least 1k to get the second 512 bytes of the volume. | 782 | * least 1k to get the second 512 bytes of the volume. |
783 | */ | 783 | */ |
784 | blocksize = sb_min_blocksize(sb, 1024); | 784 | blocksize = sb_min_blocksize(sb, 1024); |
785 | if (!blocksize) { | 785 | if (!blocksize) { |
786 | if (!silent) | 786 | if (!silent) |
@@ -917,7 +917,7 @@ static struct file_system_type befs_fs_type = { | |||
917 | .name = "befs", | 917 | .name = "befs", |
918 | .mount = befs_mount, | 918 | .mount = befs_mount, |
919 | .kill_sb = kill_block_super, | 919 | .kill_sb = kill_block_super, |
920 | .fs_flags = FS_REQUIRES_DEV, | 920 | .fs_flags = FS_REQUIRES_DEV, |
921 | }; | 921 | }; |
922 | MODULE_ALIAS_FS("befs"); | 922 | MODULE_ALIAS_FS("befs"); |
923 | 923 | ||