Refactor xfs_attr_rmtval_remove to add helper function __xfs_attr_rmtval_remove. We will use this later when we introduce delayed attributes. This function will eventually replace xfs_attr_rmtval_remove Signed-off-by: Allison Collins <allison.henderson@oracle.com> Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Acked-by: Dave Chinner <dchinner@redhat.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			642 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			642 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0 */
 | |
| /*
 | |
|  * Copyright (c) 2013 Red Hat, Inc.
 | |
|  * All Rights Reserved.
 | |
|  */
 | |
| #ifndef __XFS_ATTR_REMOTE_H__
 | |
| #define	__XFS_ATTR_REMOTE_H__
 | |
| 
 | |
| int xfs_attr3_rmt_blocks(struct xfs_mount *mp, int attrlen);
 | |
| 
 | |
| int xfs_attr_rmtval_get(struct xfs_da_args *args);
 | |
| int xfs_attr_rmtval_set(struct xfs_da_args *args);
 | |
| int xfs_attr_rmtval_remove(struct xfs_da_args *args);
 | |
| int xfs_attr_rmtval_stale(struct xfs_inode *ip, struct xfs_bmbt_irec *map,
 | |
| 		xfs_buf_flags_t incore_flags);
 | |
| int xfs_attr_rmtval_invalidate(struct xfs_da_args *args);
 | |
| int __xfs_attr_rmtval_remove(struct xfs_da_args *args);
 | |
| #endif /* __XFS_ATTR_REMOTE_H__ */
 |