The patch titled seq_file-properly-cope-with-pread fix has been added to the -mm tree. Its filename is seq_file-properly-cope-with-pread-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: seq_file-properly-cope-with-pread fix From: Paul Turner <pjt@xxxxxxxxxx> seq_open needs its fmode opened up to take advantage of this Acked-by: Eric Biederman <ebiederm@xxxxxxxxxxxx> Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/seq_file.c | 2 -- 1 file changed, 2 deletions(-) diff -puN fs/seq_file.c~seq_file-properly-cope-with-pread-fix fs/seq_file.c --- a/fs/seq_file.c~seq_file-properly-cope-with-pread-fix +++ a/fs/seq_file.c @@ -48,8 +48,6 @@ int seq_open(struct file *file, const st */ file->f_version = 0; - /* SEQ files support lseek, but not pread/pwrite */ - file->f_mode &= ~(FMODE_PREAD | FMODE_PWRITE); return 0; } EXPORT_SYMBOL(seq_open); _ Patches currently in -mm which might be from pjt@xxxxxxxxxx are seq_file-move-traverse-so-it-can-be-used-from-seq_read.patch seq_file-properly-cope-with-pread.patch seq_file-properly-cope-with-pread-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html