mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
config: remove HAVE_DIRTY_INODE_WITH_FLAGS
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16479
This commit is contained in:
committed by
Brian Behlendorf
parent
efc293e371
commit
92f7ec6075
@@ -54,7 +54,6 @@ zpl_inode_destroy(struct inode *ip)
|
||||
* inode has changed. We use it to ensure the znode system attributes
|
||||
* are always strictly update to date with respect to the inode.
|
||||
*/
|
||||
#ifdef HAVE_DIRTY_INODE_WITH_FLAGS
|
||||
static void
|
||||
zpl_dirty_inode(struct inode *ip, int flags)
|
||||
{
|
||||
@@ -64,17 +63,6 @@ zpl_dirty_inode(struct inode *ip, int flags)
|
||||
zfs_dirty_inode(ip, flags);
|
||||
spl_fstrans_unmark(cookie);
|
||||
}
|
||||
#else
|
||||
static void
|
||||
zpl_dirty_inode(struct inode *ip)
|
||||
{
|
||||
fstrans_cookie_t cookie;
|
||||
|
||||
cookie = spl_fstrans_mark();
|
||||
zfs_dirty_inode(ip, 0);
|
||||
spl_fstrans_unmark(cookie);
|
||||
}
|
||||
#endif /* HAVE_DIRTY_INODE_WITH_FLAGS */
|
||||
|
||||
/*
|
||||
* When ->drop_inode() is called its return value indicates if the
|
||||
|
||||
Reference in New Issue
Block a user