kernels/linux-2.4.0/fs/nfs/write.c
/*
 * Check if a request is dirty
 */
Check if a request is dirty
Check if a request is dirty
static inline int
nfs_dirty_request(struct nfs_page *req)
{
	struct inode *inode = req->wb_inode;
	return !list_empty(&req->wb_list) && req->wb_list_head == &inode->u.nfs_i.dirty;
}
static inline int nfs_dirty_request ( struct nfs_page * req ) { struct inode * inode = req -> wb_inode ; return ! list_empty ( & req -> wb_list ) && req -> wb_list_head == & inode -> u . nfs_i . dirty ; }
Check if a request is dirty
Check if a request is dirty