diff options
author | Peng Tao <bergwolf@gmail.com> | 2012-01-12 23:18:40 +0800 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-12 16:52:09 -0500 |
commit | 60c52e3a72fda10e82f38b6f979956eb2dcb3d4e (patch) | |
tree | 61196d0f4619eb56c5d2b50fb72d292ff6bb5521 /fs/nfs/blocklayout/blocklayout.h | |
parent | 74a6eeb44ca6174d9cc93b9b8b4d58211c57bc80 (diff) | |
download | linux-60c52e3a72fda10e82f38b6f979956eb2dcb3d4e.tar.gz linux-60c52e3a72fda10e82f38b6f979956eb2dcb3d4e.tar.bz2 linux-60c52e3a72fda10e82f38b6f979956eb2dcb3d4e.zip |
pnfsblock: cleanup bl_mark_sectors_init
It does not need to manipulate on partial initialized blocks.
Writeback code takes care of it.
Signed-off-by: Peng Tao <peng_tao@emc.com>
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/blocklayout/blocklayout.h')
-rw-r--r-- | fs/nfs/blocklayout/blocklayout.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/blocklayout/blocklayout.h b/fs/nfs/blocklayout/blocklayout.h index 42acf7ef5992..60728acc7b99 100644 --- a/fs/nfs/blocklayout/blocklayout.h +++ b/fs/nfs/blocklayout/blocklayout.h @@ -186,8 +186,7 @@ struct pnfs_block_extent * bl_find_get_extent(struct pnfs_block_layout *bl, sector_t isect, struct pnfs_block_extent **cow_read); int bl_mark_sectors_init(struct pnfs_inval_markings *marks, - sector_t offset, sector_t length, - sector_t **pages); + sector_t offset, sector_t length); void bl_put_extent(struct pnfs_block_extent *be); struct pnfs_block_extent *bl_alloc_extent(void); int bl_is_sector_init(struct pnfs_inval_markings *marks, sector_t isect); |