diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-24 16:41:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-24 16:41:39 -0400 |
commit | 229aebb873e29726b91e076161649cf45154b0bf (patch) | |
tree | acc02a3702215bce8d914f4c8cc3d7a1382b1c67 /fs | |
parent | 8de547e1824437f3c6af180d3ed2162fa4b3f389 (diff) | |
parent | 50a23e6eec6f20d55a3a920e47adb455bff6046e (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
Update broken web addresses in arch directory.
Update broken web addresses in the kernel.
Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
Revert "Fix typo: configuation => configuration" partially
ida: document IDA_BITMAP_LONGS calculation
ext2: fix a typo on comment in ext2/inode.c
drivers/scsi: Remove unnecessary casts of private_data
drivers/s390: Remove unnecessary casts of private_data
net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
drivers/infiniband: Remove unnecessary casts of private_data
drivers/gpu/drm: Remove unnecessary casts of private_data
kernel/pm_qos_params.c: Remove unnecessary casts of private_data
fs/ecryptfs: Remove unnecessary casts of private_data
fs/seq_file.c: Remove unnecessary casts of private_data
arm: uengine.c: remove C99 comments
arm: scoop.c: remove C99 comments
Fix typo configue => configure in comments
Fix typo: configuation => configuration
Fix typo interrest[ing|ed] => interest[ing|ed]
Fix various typos of valid in comments
...
Fix up trivial conflicts in:
drivers/char/ipmi/ipmi_si_intf.c
drivers/usb/gadget/rndis.c
net/irda/irnet/irnet_ppp.c
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ecryptfs/ecryptfs_kernel.h | 2 | ||||
-rw-r--r-- | fs/exofs/inode.c | 14 | ||||
-rw-r--r-- | fs/exofs/ios.c | 10 | ||||
-rw-r--r-- | fs/ext2/inode.c | 4 | ||||
-rw-r--r-- | fs/hostfs/hostfs.h | 7 | ||||
-rw-r--r-- | fs/jfs/jfs_logmgr.c | 6 | ||||
-rw-r--r-- | fs/jfs/jfs_mount.c | 4 | ||||
-rw-r--r-- | fs/ocfs2/cluster/tcp_internal.h | 2 | ||||
-rw-r--r-- | fs/partitions/ldm.c | 2 | ||||
-rw-r--r-- | fs/partitions/ldm.h | 2 | ||||
-rw-r--r-- | fs/reiserfs/Kconfig | 6 | ||||
-rw-r--r-- | fs/reiserfs/README | 2 | ||||
-rw-r--r-- | fs/seq_file.c | 6 |
13 files changed, 31 insertions, 36 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h index 0032a9f5a3a9..40186b959429 100644 --- a/fs/ecryptfs/ecryptfs_kernel.h +++ b/fs/ecryptfs/ecryptfs_kernel.h | |||
@@ -477,7 +477,7 @@ ecryptfs_lower_header_size(struct ecryptfs_crypt_stat *crypt_stat) | |||
477 | static inline struct ecryptfs_file_info * | 477 | static inline struct ecryptfs_file_info * |
478 | ecryptfs_file_to_private(struct file *file) | 478 | ecryptfs_file_to_private(struct file *file) |
479 | { | 479 | { |
480 | return (struct ecryptfs_file_info *)file->private_data; | 480 | return file->private_data; |
481 | } | 481 | } |
482 | 482 | ||
483 | static inline void | 483 | static inline void |
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c index 3eadd97324b1..44602754f758 100644 --- a/fs/exofs/inode.c +++ b/fs/exofs/inode.c | |||
@@ -511,7 +511,7 @@ static int write_exec(struct page_collect *pcol) | |||
511 | 511 | ||
512 | pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL); | 512 | pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL); |
513 | if (!pcol_copy) { | 513 | if (!pcol_copy) { |
514 | EXOFS_ERR("write_exec: Faild to kmalloc(pcol)\n"); | 514 | EXOFS_ERR("write_exec: Failed to kmalloc(pcol)\n"); |
515 | ret = -ENOMEM; | 515 | ret = -ENOMEM; |
516 | goto err; | 516 | goto err; |
517 | } | 517 | } |
@@ -527,7 +527,7 @@ static int write_exec(struct page_collect *pcol) | |||
527 | 527 | ||
528 | ret = exofs_oi_write(oi, ios); | 528 | ret = exofs_oi_write(oi, ios); |
529 | if (unlikely(ret)) { | 529 | if (unlikely(ret)) { |
530 | EXOFS_ERR("write_exec: exofs_oi_write() Faild\n"); | 530 | EXOFS_ERR("write_exec: exofs_oi_write() Failed\n"); |
531 | goto err; | 531 | goto err; |
532 | } | 532 | } |
533 | 533 | ||
@@ -628,7 +628,7 @@ try_again: | |||
628 | /* split the request, next loop will start again */ | 628 | /* split the request, next loop will start again */ |
629 | ret = write_exec(pcol); | 629 | ret = write_exec(pcol); |
630 | if (unlikely(ret)) { | 630 | if (unlikely(ret)) { |
631 | EXOFS_DBGMSG("write_exec faild => %d", ret); | 631 | EXOFS_DBGMSG("write_exec failed => %d", ret); |
632 | goto fail; | 632 | goto fail; |
633 | } | 633 | } |
634 | 634 | ||
@@ -719,7 +719,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping, | |||
719 | ret = simple_write_begin(file, mapping, pos, len, flags, pagep, | 719 | ret = simple_write_begin(file, mapping, pos, len, flags, pagep, |
720 | fsdata); | 720 | fsdata); |
721 | if (ret) { | 721 | if (ret) { |
722 | EXOFS_DBGMSG("simple_write_begin faild\n"); | 722 | EXOFS_DBGMSG("simple_write_begin failed\n"); |
723 | goto out; | 723 | goto out; |
724 | } | 724 | } |
725 | 725 | ||
@@ -732,7 +732,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping, | |||
732 | if (ret) { | 732 | if (ret) { |
733 | /*SetPageError was done by _readpage. Is it ok?*/ | 733 | /*SetPageError was done by _readpage. Is it ok?*/ |
734 | unlock_page(page); | 734 | unlock_page(page); |
735 | EXOFS_DBGMSG("__readpage_filler faild\n"); | 735 | EXOFS_DBGMSG("__readpage_filler failed\n"); |
736 | } | 736 | } |
737 | } | 737 | } |
738 | out: | 738 | out: |
@@ -1095,7 +1095,7 @@ static void create_done(struct exofs_io_state *ios, void *p) | |||
1095 | atomic_dec(&sbi->s_curr_pending); | 1095 | atomic_dec(&sbi->s_curr_pending); |
1096 | 1096 | ||
1097 | if (unlikely(ret)) { | 1097 | if (unlikely(ret)) { |
1098 | EXOFS_ERR("object=0x%llx creation faild in pid=0x%llx", | 1098 | EXOFS_ERR("object=0x%llx creation failed in pid=0x%llx", |
1099 | _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid)); | 1099 | _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid)); |
1100 | /*TODO: When FS is corrupted creation can fail, object already | 1100 | /*TODO: When FS is corrupted creation can fail, object already |
1101 | * exist. Get rid of this asynchronous creation, if exist | 1101 | * exist. Get rid of this asynchronous creation, if exist |
@@ -1215,7 +1215,7 @@ static int exofs_update_inode(struct inode *inode, int do_sync) | |||
1215 | 1215 | ||
1216 | args = kzalloc(sizeof(*args), GFP_KERNEL); | 1216 | args = kzalloc(sizeof(*args), GFP_KERNEL); |
1217 | if (!args) { | 1217 | if (!args) { |
1218 | EXOFS_DBGMSG("Faild kzalloc of args\n"); | 1218 | EXOFS_DBGMSG("Failed kzalloc of args\n"); |
1219 | return -ENOMEM; | 1219 | return -ENOMEM; |
1220 | } | 1220 | } |
1221 | 1221 | ||
diff --git a/fs/exofs/ios.c b/fs/exofs/ios.c index 6550bf70e41d..f74a2ec027a6 100644 --- a/fs/exofs/ios.c +++ b/fs/exofs/ios.c | |||
@@ -55,7 +55,7 @@ int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj, | |||
55 | 55 | ||
56 | ret = osd_finalize_request(or, 0, cred, NULL); | 56 | ret = osd_finalize_request(or, 0, cred, NULL); |
57 | if (unlikely(ret)) { | 57 | if (unlikely(ret)) { |
58 | EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n", ret); | 58 | EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n", ret); |
59 | goto out; | 59 | goto out; |
60 | } | 60 | } |
61 | 61 | ||
@@ -79,7 +79,7 @@ int exofs_get_io_state(struct exofs_layout *layout, | |||
79 | */ | 79 | */ |
80 | ios = kzalloc(exofs_io_state_size(layout->s_numdevs), GFP_KERNEL); | 80 | ios = kzalloc(exofs_io_state_size(layout->s_numdevs), GFP_KERNEL); |
81 | if (unlikely(!ios)) { | 81 | if (unlikely(!ios)) { |
82 | EXOFS_DBGMSG("Faild kzalloc bytes=%d\n", | 82 | EXOFS_DBGMSG("Failed kzalloc bytes=%d\n", |
83 | exofs_io_state_size(layout->s_numdevs)); | 83 | exofs_io_state_size(layout->s_numdevs)); |
84 | *pios = NULL; | 84 | *pios = NULL; |
85 | return -ENOMEM; | 85 | return -ENOMEM; |
@@ -172,7 +172,7 @@ static int exofs_io_execute(struct exofs_io_state *ios) | |||
172 | 172 | ||
173 | ret = osd_finalize_request(or, 0, ios->cred, NULL); | 173 | ret = osd_finalize_request(or, 0, ios->cred, NULL); |
174 | if (unlikely(ret)) { | 174 | if (unlikely(ret)) { |
175 | EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n", | 175 | EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n", |
176 | ret); | 176 | ret); |
177 | return ret; | 177 | return ret; |
178 | } | 178 | } |
@@ -361,7 +361,7 @@ static int _add_stripe_unit(struct exofs_io_state *ios, unsigned *cur_pg, | |||
361 | 361 | ||
362 | per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size); | 362 | per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size); |
363 | if (unlikely(!per_dev->bio)) { | 363 | if (unlikely(!per_dev->bio)) { |
364 | EXOFS_DBGMSG("Faild to allocate BIO size=%u\n", | 364 | EXOFS_DBGMSG("Failed to allocate BIO size=%u\n", |
365 | bio_size); | 365 | bio_size); |
366 | return -ENOMEM; | 366 | return -ENOMEM; |
367 | } | 367 | } |
@@ -564,7 +564,7 @@ static int _sbi_write_mirror(struct exofs_io_state *ios, int cur_comp) | |||
564 | master_dev->bio->bi_max_vecs); | 564 | master_dev->bio->bi_max_vecs); |
565 | if (unlikely(!bio)) { | 565 | if (unlikely(!bio)) { |
566 | EXOFS_DBGMSG( | 566 | EXOFS_DBGMSG( |
567 | "Faild to allocate BIO size=%u\n", | 567 | "Failed to allocate BIO size=%u\n", |
568 | master_dev->bio->bi_max_vecs); | 568 | master_dev->bio->bi_max_vecs); |
569 | ret = -ENOMEM; | 569 | ret = -ENOMEM; |
570 | goto out; | 570 | goto out; |
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 940c96168868..533699c16040 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c | |||
@@ -458,7 +458,7 @@ failed_out: | |||
458 | * the same format as ext2_get_branch() would do. We are calling it after | 458 | * the same format as ext2_get_branch() would do. We are calling it after |
459 | * we had read the existing part of chain and partial points to the last | 459 | * we had read the existing part of chain and partial points to the last |
460 | * triple of that (one with zero ->key). Upon the exit we have the same | 460 | * triple of that (one with zero ->key). Upon the exit we have the same |
461 | * picture as after the successful ext2_get_block(), excpet that in one | 461 | * picture as after the successful ext2_get_block(), except that in one |
462 | * place chain is disconnected - *branch->p is still zero (we did not | 462 | * place chain is disconnected - *branch->p is still zero (we did not |
463 | * set the last link), but branch->key contains the number that should | 463 | * set the last link), but branch->key contains the number that should |
464 | * be placed into *branch->p to fill that gap. | 464 | * be placed into *branch->p to fill that gap. |
@@ -662,7 +662,7 @@ static int ext2_get_blocks(struct inode *inode, | |||
662 | mutex_lock(&ei->truncate_mutex); | 662 | mutex_lock(&ei->truncate_mutex); |
663 | /* | 663 | /* |
664 | * If the indirect block is missing while we are reading | 664 | * If the indirect block is missing while we are reading |
665 | * the chain(ext3_get_branch() returns -EAGAIN err), or | 665 | * the chain(ext2_get_branch() returns -EAGAIN err), or |
666 | * if the chain has been changed after we grab the semaphore, | 666 | * if the chain has been changed after we grab the semaphore, |
667 | * (either because another process truncated this branch, or | 667 | * (either because another process truncated this branch, or |
668 | * another get_block allocated this branch) re-grab the chain to see if | 668 | * another get_block allocated this branch) re-grab the chain to see if |
diff --git a/fs/hostfs/hostfs.h b/fs/hostfs/hostfs.h index 6bbd75c5589b..7c232c1487ee 100644 --- a/fs/hostfs/hostfs.h +++ b/fs/hostfs/hostfs.h | |||
@@ -28,12 +28,7 @@ | |||
28 | * #define ATTR_KILL_SUID 2048 | 28 | * #define ATTR_KILL_SUID 2048 |
29 | * #define ATTR_KILL_SGID 4096 | 29 | * #define ATTR_KILL_SGID 4096 |
30 | * | 30 | * |
31 | * and this is because they were added in 2.5 development in this patch: | 31 | * and this is because they were added in 2.5 development. |
32 | * | ||
33 | * http://linux.bkbits.net:8080/linux-2.5/ | ||
34 | * cset@3caf4a12k4XgDzK7wyK-TGpSZ9u2Ww?nav=index.html | ||
35 | * |src/.|src/include|src/include/linux|related/include/linux/fs.h | ||
36 | * | ||
37 | * Actually, they are not needed by most ->setattr() methods - they are set by | 32 | * Actually, they are not needed by most ->setattr() methods - they are set by |
38 | * callers of notify_change() to notify that the setuid/setgid bits must be | 33 | * callers of notify_change() to notify that the setuid/setgid bits must be |
39 | * dropped. | 34 | * dropped. |
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c index c51af2a14516..e1b8493b9aaa 100644 --- a/fs/jfs/jfs_logmgr.c +++ b/fs/jfs/jfs_logmgr.c | |||
@@ -1010,15 +1010,13 @@ static int lmLogSync(struct jfs_log * log, int hard_sync) | |||
1010 | * option 2 - shutdown file systems | 1010 | * option 2 - shutdown file systems |
1011 | * associated with log ? | 1011 | * associated with log ? |
1012 | * option 3 - extend log ? | 1012 | * option 3 - extend log ? |
1013 | */ | ||
1014 | /* | ||
1015 | * option 4 - second chance | 1013 | * option 4 - second chance |
1016 | * | 1014 | * |
1017 | * mark log wrapped, and continue. | 1015 | * mark log wrapped, and continue. |
1018 | * when all active transactions are completed, | 1016 | * when all active transactions are completed, |
1019 | * mark log vaild for recovery. | 1017 | * mark log valid for recovery. |
1020 | * if crashed during invalid state, log state | 1018 | * if crashed during invalid state, log state |
1021 | * implies invald log, forcing fsck(). | 1019 | * implies invalid log, forcing fsck(). |
1022 | */ | 1020 | */ |
1023 | /* mark log state log wrap in log superblock */ | 1021 | /* mark log state log wrap in log superblock */ |
1024 | /* log->state = LOGWRAP; */ | 1022 | /* log->state = LOGWRAP; */ |
diff --git a/fs/jfs/jfs_mount.c b/fs/jfs/jfs_mount.c index 7b698f2ec45a..9895595fd2f2 100644 --- a/fs/jfs/jfs_mount.c +++ b/fs/jfs/jfs_mount.c | |||
@@ -97,7 +97,7 @@ int jfs_mount(struct super_block *sb) | |||
97 | 97 | ||
98 | ipaimap = diReadSpecial(sb, AGGREGATE_I, 0); | 98 | ipaimap = diReadSpecial(sb, AGGREGATE_I, 0); |
99 | if (ipaimap == NULL) { | 99 | if (ipaimap == NULL) { |
100 | jfs_err("jfs_mount: Faild to read AGGREGATE_I"); | 100 | jfs_err("jfs_mount: Failed to read AGGREGATE_I"); |
101 | rc = -EIO; | 101 | rc = -EIO; |
102 | goto errout20; | 102 | goto errout20; |
103 | } | 103 | } |
@@ -148,7 +148,7 @@ int jfs_mount(struct super_block *sb) | |||
148 | if ((sbi->mntflag & JFS_BAD_SAIT) == 0) { | 148 | if ((sbi->mntflag & JFS_BAD_SAIT) == 0) { |
149 | ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1); | 149 | ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1); |
150 | if (!ipaimap2) { | 150 | if (!ipaimap2) { |
151 | jfs_err("jfs_mount: Faild to read AGGREGATE_I"); | 151 | jfs_err("jfs_mount: Failed to read AGGREGATE_I"); |
152 | rc = -EIO; | 152 | rc = -EIO; |
153 | goto errout35; | 153 | goto errout35; |
154 | } | 154 | } |
diff --git a/fs/ocfs2/cluster/tcp_internal.h b/fs/ocfs2/cluster/tcp_internal.h index 96fa7ebc530c..15fdbdf9eb4b 100644 --- a/fs/ocfs2/cluster/tcp_internal.h +++ b/fs/ocfs2/cluster/tcp_internal.h | |||
@@ -129,7 +129,7 @@ struct o2net_node { | |||
129 | 129 | ||
130 | struct o2net_sock_container { | 130 | struct o2net_sock_container { |
131 | struct kref sc_kref; | 131 | struct kref sc_kref; |
132 | /* the next two are vaild for the life time of the sc */ | 132 | /* the next two are valid for the life time of the sc */ |
133 | struct socket *sc_sock; | 133 | struct socket *sc_sock; |
134 | struct o2nm_node *sc_node; | 134 | struct o2nm_node *sc_node; |
135 | 135 | ||
diff --git a/fs/partitions/ldm.c b/fs/partitions/ldm.c index 5bf8a04b5d9b..789c625c7aa5 100644 --- a/fs/partitions/ldm.c +++ b/fs/partitions/ldm.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (c) 2001-2007 Anton Altaparmakov | 5 | * Copyright (c) 2001-2007 Anton Altaparmakov |
6 | * Copyright (C) 2001,2002 Jakob Kemi <jakob.kemi@telia.com> | 6 | * Copyright (C) 2001,2002 Jakob Kemi <jakob.kemi@telia.com> |
7 | * | 7 | * |
8 | * Documentation is available at http://www.linux-ntfs.org/content/view/19/37/ | 8 | * Documentation is available at http://www.linux-ntfs.org/doku.php?id=downloads |
9 | * | 9 | * |
10 | * This program is free software; you can redistribute it and/or modify it under | 10 | * This program is free software; you can redistribute it and/or modify it under |
11 | * the terms of the GNU General Public License as published by the Free Software | 11 | * the terms of the GNU General Public License as published by the Free Software |
diff --git a/fs/partitions/ldm.h b/fs/partitions/ldm.h index d1fb50b28d86..374242c0971a 100644 --- a/fs/partitions/ldm.h +++ b/fs/partitions/ldm.h | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (c) 2001-2007 Anton Altaparmakov | 5 | * Copyright (c) 2001-2007 Anton Altaparmakov |
6 | * Copyright (C) 2001,2002 Jakob Kemi <jakob.kemi@telia.com> | 6 | * Copyright (C) 2001,2002 Jakob Kemi <jakob.kemi@telia.com> |
7 | * | 7 | * |
8 | * Documentation is available at http://www.linux-ntfs.org/content/view/19/37/ | 8 | * Documentation is available at http://www.linux-ntfs.org/doku.php?id=downloads |
9 | * | 9 | * |
10 | * This program is free software; you can redistribute it and/or modify it | 10 | * This program is free software; you can redistribute it and/or modify it |
11 | * under the terms of the GNU General Public License as published by the Free | 11 | * under the terms of the GNU General Public License as published by the Free |
diff --git a/fs/reiserfs/Kconfig b/fs/reiserfs/Kconfig index 513f431038f9..7cd46666ba2c 100644 --- a/fs/reiserfs/Kconfig +++ b/fs/reiserfs/Kconfig | |||
@@ -10,7 +10,8 @@ config REISERFS_FS | |||
10 | 10 | ||
11 | In general, ReiserFS is as fast as ext2, but is very efficient with | 11 | In general, ReiserFS is as fast as ext2, but is very efficient with |
12 | large directories and small files. Additional patches are needed | 12 | large directories and small files. Additional patches are needed |
13 | for NFS and quotas, please see <http://www.namesys.com/> for links. | 13 | for NFS and quotas, please see |
14 | <https://reiser4.wiki.kernel.org/index.php/Main_Page> for links. | ||
14 | 15 | ||
15 | It is more easily extended to have features currently found in | 16 | It is more easily extended to have features currently found in |
16 | database and keyword search systems than block allocation based file | 17 | database and keyword search systems than block allocation based file |
@@ -18,7 +19,8 @@ config REISERFS_FS | |||
18 | plugins consistent with our motto ``It takes more than a license to | 19 | plugins consistent with our motto ``It takes more than a license to |
19 | make source code open.'' | 20 | make source code open.'' |
20 | 21 | ||
21 | Read <http://www.namesys.com/> to learn more about reiserfs. | 22 | Read <https://reiser4.wiki.kernel.org/index.php/Main_Page> |
23 | to learn more about reiserfs. | ||
22 | 24 | ||
23 | Sponsored by Threshold Networks, Emusic.com, and Bigstorage.com. | 25 | Sponsored by Threshold Networks, Emusic.com, and Bigstorage.com. |
24 | 26 | ||
diff --git a/fs/reiserfs/README b/fs/reiserfs/README index 14e8c9d460e5..e2f7a264e3ff 100644 --- a/fs/reiserfs/README +++ b/fs/reiserfs/README | |||
@@ -43,7 +43,7 @@ to address the fair crediting issue in the next GPL version.) | |||
43 | [END LICENSING] | 43 | [END LICENSING] |
44 | 44 | ||
45 | Reiserfs is a file system based on balanced tree algorithms, which is | 45 | Reiserfs is a file system based on balanced tree algorithms, which is |
46 | described at http://devlinux.com/namesys. | 46 | described at https://reiser4.wiki.kernel.org/index.php/Main_Page |
47 | 47 | ||
48 | Stop reading here. Go there, then return. | 48 | Stop reading here. Go there, then return. |
49 | 49 | ||
diff --git a/fs/seq_file.c b/fs/seq_file.c index e1f437be6c3c..0e7cb1395a94 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c | |||
@@ -131,7 +131,7 @@ Eoverflow: | |||
131 | */ | 131 | */ |
132 | ssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) | 132 | ssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) |
133 | { | 133 | { |
134 | struct seq_file *m = (struct seq_file *)file->private_data; | 134 | struct seq_file *m = file->private_data; |
135 | size_t copied = 0; | 135 | size_t copied = 0; |
136 | loff_t pos; | 136 | loff_t pos; |
137 | size_t n; | 137 | size_t n; |
@@ -280,7 +280,7 @@ EXPORT_SYMBOL(seq_read); | |||
280 | */ | 280 | */ |
281 | loff_t seq_lseek(struct file *file, loff_t offset, int origin) | 281 | loff_t seq_lseek(struct file *file, loff_t offset, int origin) |
282 | { | 282 | { |
283 | struct seq_file *m = (struct seq_file *)file->private_data; | 283 | struct seq_file *m = file->private_data; |
284 | loff_t retval = -EINVAL; | 284 | loff_t retval = -EINVAL; |
285 | 285 | ||
286 | mutex_lock(&m->lock); | 286 | mutex_lock(&m->lock); |
@@ -324,7 +324,7 @@ EXPORT_SYMBOL(seq_lseek); | |||
324 | */ | 324 | */ |
325 | int seq_release(struct inode *inode, struct file *file) | 325 | int seq_release(struct inode *inode, struct file *file) |
326 | { | 326 | { |
327 | struct seq_file *m = (struct seq_file *)file->private_data; | 327 | struct seq_file *m = file->private_data; |
328 | kfree(m->buf); | 328 | kfree(m->buf); |
329 | kfree(m); | 329 | kfree(m); |
330 | return 0; | 330 | return 0; |