]> git.baikalelectronics.ru Git - kernel.git/commit
[GFS2] Clean up internal read function
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 15 Oct 2007 13:42:35 +0000 (14:42 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:11 +0000 (08:07 +0000)
commitfcb5d64b6e0cbd2d49ae39993b6b6b7dcb1308df
tree7a8de5720b2a63e8d7d03a940a2b06196b2a3776
parent156dfdebf4bfac599fcbc439bcc04d95cf2a761c
[GFS2] Clean up internal read function

As requested by Christoph, this patch cleans up GFS2's internal
read function so that it no longer uses the do_generic_mapping_read
function. This function is obsolete and GFS2 is the last user of it.

As a side effect the internal read code gets smaller and easier
to read and gfs2_readpage is split into two. One function has the locking
and the other function has the rest of the logic.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
fs/gfs2/inode.c
fs/gfs2/ops_address.c
fs/gfs2/ops_address.h
fs/gfs2/ops_file.c
fs/gfs2/ops_file.h [deleted file]
fs/gfs2/ops_inode.h
fs/gfs2/quota.c
fs/gfs2/rgrp.c