Home
last modified time | relevance | path

Searched refs:old_file (Results 1 – 2 of 2) sorted by relevance

/fs/overlayfs/
Dcopy_up.c98 struct file *old_file; in ovl_copy_up_data() local
107 old_file = ovl_path_open(old, O_LARGEFILE | O_RDONLY); in ovl_copy_up_data()
108 if (IS_ERR(old_file)) in ovl_copy_up_data()
109 return PTR_ERR(old_file); in ovl_copy_up_data()
130 bytes = do_splice_direct(old_file, &old_pos, in ovl_copy_up_data()
146 fput(old_file); in ovl_copy_up_data()
/fs/cifs/
Dlink.c540 cifs_hardlink(struct dentry *old_file, struct inode *inode, in cifs_hardlink() argument
560 from_name = build_path_from_dentry(old_file); in cifs_hardlink()
589 if (d_really_is_positive(old_file)) { in cifs_hardlink()
590 cifsInode = CIFS_I(d_inode(old_file)); in cifs_hardlink()
592 spin_lock(&d_inode(old_file)->i_lock); in cifs_hardlink()
593 inc_nlink(d_inode(old_file)); in cifs_hardlink()
594 spin_unlock(&d_inode(old_file)->i_lock); in cifs_hardlink()