public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Christoph Hellwig <hch@lst.de>
Cc: viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] udf: add llseek method
Date: Mon, 8 Sep 2008 20:35:36 +0200	[thread overview]
Message-ID: <20080908183535.GA10778@duck.suse.cz> (raw)
In-Reply-To: <20080908174417.GB19912@lst.de>

On Mon 08-09-08 19:44:17, Christoph Hellwig wrote:
> UDF currently doesn't set a llseek method for regular files, which
> means it will fall back to default_llseek.  This means no one can seek
> beyond 2 Gigabytes on reiserfs, and that there's not protection vs
> the i_size updates from writers.
  Thanks. Merged after fixing typo in the changelog (reiserfs -> udf).

								Honza

> Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
> Index: linux-2.6/fs/udf/file.c
> ===================================================================
> --- linux-2.6.orig/fs/udf/file.c	2008-09-08 19:43:05.000000000 +0200
> +++ linux-2.6/fs/udf/file.c	2008-09-08 19:43:18.000000000 +0200
> @@ -211,6 +211,7 @@ const struct file_operations udf_file_op
>  	.release		= udf_release_file,
>  	.fsync			= udf_fsync_file,
>  	.splice_read		= generic_file_splice_read,
> +	.llseek			= generic_file_llseek,
>  };
>  
>  const struct inode_operations udf_file_inode_operations = {
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

      reply	other threads:[~2008-09-08 18:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-08 17:44 [PATCH] udf: add llseek method Christoph Hellwig
2008-09-08 18:35 ` Jan Kara [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080908183535.GA10778@duck.suse.cz \
    --to=jack@suse.cz \
    --cc=hch@lst.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox