Home
last modified time | relevance | path

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

/linux-6.1.9/fs/
Dioctl.c585 const struct fileattr *old_ma, in fileattr_set_prepare() argument
594 if ((fa->flags ^ old_ma->flags) & (FS_APPEND_FL | FS_IMMUTABLE_FL) && in fileattr_set_prepare()
598 err = fscrypt_prepare_setflags(inode, old_ma->flags, fa->flags); in fileattr_set_prepare()
608 if (old_ma->fsx_projid != fa->fsx_projid) in fileattr_set_prepare()
610 if ((old_ma->fsx_xflags ^ fa->fsx_xflags) & in fileattr_set_prepare()
618 if (old_ma->fsx_projid != fa->fsx_projid && in fileattr_set_prepare()
672 struct fileattr old_ma = {}; in vfs_fileattr_set() local
682 err = vfs_fileattr_get(dentry, &old_ma); in vfs_fileattr_set()
686 fa->fsx_xflags |= old_ma.fsx_xflags & ~FS_XFLAG_COMMON; in vfs_fileattr_set()
687 fa->fsx_extsize = old_ma.fsx_extsize; in vfs_fileattr_set()
[all …]