mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 09:41:44 +00:00
4340fe6253
This adds a generation number for the eventual use of NFS to the ondisk inode. Its backward compatible with the current code since it doesn't really matter what the generation number is to start with, and indeed since its set to zero, due to it being taken from padding in both the inode and rgrp header, it should be fine. The eventual plan is to use this rather than no_formal_ino in the NFS filehandles. At that point no_formal_ino will be unused. At the same time we also add a releasepages call back to the "normal" address space for gfs2 inodes. Also I've removed a one-linrer function thats not required any more. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
19 lines
668 B
C
19 lines
668 B
C
/*
|
|
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
|
|
* Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
|
|
*
|
|
* This copyrighted material is made available to anyone wishing to use,
|
|
* modify, copy, or redistribute it subject to the terms and conditions
|
|
* of the GNU General Public License v.2.
|
|
*/
|
|
|
|
#ifndef __OPS_ADDRESS_DOT_H__
|
|
#define __OPS_ADDRESS_DOT_H__
|
|
|
|
extern const struct address_space_operations gfs2_file_aops;
|
|
extern int gfs2_get_block(struct inode *inode, sector_t lblock,
|
|
struct buffer_head *bh_result, int create);
|
|
extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask);
|
|
|
|
#endif /* __OPS_ADDRESS_DOT_H__ */
|