diff options
author | David Teigland <teigland@redhat.com> | 2006-02-23 05:13:13 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-23 05:13:13 -0500 |
commit | d95cb943f5b217c5b5f97f5af0fea3c511ed9c97 (patch) | |
tree | dc84771426edfedfd95bfdaafff218ade799d44a /fs/gfs2/ops_file.c | |
parent | 6a6b3d018f4781f108d170f2181281a3c5589dc8 (diff) |
[GFS2] Patch to remove stats counters from GFS2 (II)
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r-- | fs/gfs2/ops_file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c index 0f80e9306016..989f0f70fc2e 100644 --- a/fs/gfs2/ops_file.c +++ b/fs/gfs2/ops_file.c | |||
@@ -299,7 +299,6 @@ static ssize_t gfs2_file_readv(struct file *filp, const struct iovec *iov, | |||
299 | static ssize_t gfs2_file_aio_read(struct kiocb *iocb, char __user *buf, | 299 | static ssize_t gfs2_file_aio_read(struct kiocb *iocb, char __user *buf, |
300 | size_t count, loff_t pos) | 300 | size_t count, loff_t pos) |
301 | { | 301 | { |
302 | struct file *filp = iocb->ki_filp; | ||
303 | struct iovec local_iov = { .iov_base = buf, .iov_len = count }; | 302 | struct iovec local_iov = { .iov_base = buf, .iov_len = count }; |
304 | 303 | ||
305 | BUG_ON(iocb->ki_pos != pos); | 304 | BUG_ON(iocb->ki_pos != pos); |
@@ -818,7 +817,6 @@ static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) | |||
818 | static ssize_t gfs2_sendfile(struct file *in_file, loff_t *offset, size_t count, | 817 | static ssize_t gfs2_sendfile(struct file *in_file, loff_t *offset, size_t count, |
819 | read_actor_t actor, void *target) | 818 | read_actor_t actor, void *target) |
820 | { | 819 | { |
821 | struct gfs2_inode *ip = get_v2ip(in_file->f_mapping->host); | ||
822 | return generic_file_sendfile(in_file, offset, count, actor, target); | 820 | return generic_file_sendfile(in_file, offset, count, actor, target); |
823 | } | 821 | } |
824 | 822 | ||