diff options
author | Jeff Mahoney <jeffm@suse.com> | 2009-03-30 14:02:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 15:16:39 -0400 |
commit | 0222e6571c332563a48d4cf5487b67feabe60b5e (patch) | |
tree | 44829ca0a4b1343edec08d4f70696cb0d3218975 /fs/reiserfs/file.c | |
parent | 3cd6dbe6feb9b32347e6c6f25a27f0cde9d50418 (diff) |
reiserfs: strip trailing whitespace
This patch strips trailing whitespace from the reiserfs code.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs/file.c')
-rw-r--r-- | fs/reiserfs/file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c index 47bab8978be1..f0160ee03e17 100644 --- a/fs/reiserfs/file.c +++ b/fs/reiserfs/file.c | |||
@@ -20,14 +20,14 @@ | |||
20 | ** insertion/balancing, for files that are written in one write. | 20 | ** insertion/balancing, for files that are written in one write. |
21 | ** It avoids unnecessary tail packings (balances) for files that are written in | 21 | ** It avoids unnecessary tail packings (balances) for files that are written in |
22 | ** multiple writes and are small enough to have tails. | 22 | ** multiple writes and are small enough to have tails. |
23 | ** | 23 | ** |
24 | ** file_release is called by the VFS layer when the file is closed. If | 24 | ** file_release is called by the VFS layer when the file is closed. If |
25 | ** this is the last open file descriptor, and the file | 25 | ** this is the last open file descriptor, and the file |
26 | ** small enough to have a tail, and the tail is currently in an | 26 | ** small enough to have a tail, and the tail is currently in an |
27 | ** unformatted node, the tail is converted back into a direct item. | 27 | ** unformatted node, the tail is converted back into a direct item. |
28 | ** | 28 | ** |
29 | ** We use reiserfs_truncate_file to pack the tail, since it already has | 29 | ** We use reiserfs_truncate_file to pack the tail, since it already has |
30 | ** all the conditions coded. | 30 | ** all the conditions coded. |
31 | */ | 31 | */ |
32 | static int reiserfs_file_release(struct inode *inode, struct file *filp) | 32 | static int reiserfs_file_release(struct inode *inode, struct file *filp) |
33 | { | 33 | { |
@@ -223,7 +223,7 @@ int reiserfs_commit_page(struct inode *inode, struct page *page, | |||
223 | } | 223 | } |
224 | 224 | ||
225 | /* Write @count bytes at position @ppos in a file indicated by @file | 225 | /* Write @count bytes at position @ppos in a file indicated by @file |
226 | from the buffer @buf. | 226 | from the buffer @buf. |
227 | 227 | ||
228 | generic_file_write() is only appropriate for filesystems that are not seeking to optimize performance and want | 228 | generic_file_write() is only appropriate for filesystems that are not seeking to optimize performance and want |
229 | something simple that works. It is not for serious use by general purpose filesystems, excepting the one that it was | 229 | something simple that works. It is not for serious use by general purpose filesystems, excepting the one that it was |