Home
last modified time | relevance | path

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

/fs/ceph/
Dacl.c90 umode_t new_mode = inode->i_mode, old_mode = inode->i_mode; in ceph_set_acl() local
97 ret = posix_acl_update_mode(inode, &new_mode, &acl); in ceph_set_acl()
128 if (new_mode != old_mode) { in ceph_set_acl()
129 newattrs.ia_mode = new_mode; in ceph_set_acl()
138 if (new_mode != old_mode) { in ceph_set_acl()
/fs/ocfs2/
Dacl.c169 handle_t *handle, umode_t new_mode) in ocfs2_acl_set_mode() argument
203 inode->i_mode = new_mode; in ocfs2_acl_set_mode()
/fs/gfs2/
Dinode.c1583 umode_t new_mode = nip->i_inode.i_mode; in gfs2_exchange() local
1603 if (S_ISDIR(new_mode)) { in gfs2_exchange()
1645 if (S_ISDIR(new_mode)) { in gfs2_exchange()
1658 error = update_moved_ino(nip, odip, S_ISDIR(new_mode)); in gfs2_exchange()
1668 IF2DT(new_mode)); in gfs2_exchange()
1673 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) { in gfs2_exchange()
1676 } else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) { in gfs2_exchange()
/fs/dlm/
Duser.c790 int old_mode, new_mode; in device_read() local
873 new_mode = cb.mode; in device_read()
876 dlm_lvb_operations[old_mode + 1][new_mode + 1]) in device_read()