Searched refs:tmp_file (Results 1 – 1 of 1) sorted by relevance
53 struct file *file, *tmp_file; in xfs_swapext() local70 tmp_file = fget((int)sxp->sx_fdtmp); in xfs_swapext()71 if (!tmp_file) { in xfs_swapext()76 if (!(tmp_file->f_mode & FMODE_WRITE) || in xfs_swapext()77 !(tmp_file->f_mode & FMODE_READ) || in xfs_swapext()78 (tmp_file->f_flags & O_APPEND)) { in xfs_swapext()84 IS_SWAPFILE(tmp_file->f_path.dentry->d_inode)) { in xfs_swapext()90 tip = XFS_I(tmp_file->f_path.dentry->d_inode); in xfs_swapext()110 fput(tmp_file); in xfs_swapext()