Home
last modified time | relevance | path

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

/fs/ceph/
Dacl.c92 umode_t new_mode = inode->i_mode, old_mode = inode->i_mode; in ceph_set_acl() local
103 ret = posix_acl_update_mode(inode, &new_mode, &acl); in ceph_set_acl()
133 if (new_mode != old_mode) { in ceph_set_acl()
135 newattrs.ia_mode = new_mode; in ceph_set_acl()
144 if (new_mode != old_mode) { in ceph_set_acl()
/fs/ocfs2/
Dacl.c161 handle_t *handle, umode_t new_mode) in ocfs2_acl_set_mode() argument
195 inode->i_mode = new_mode; in ocfs2_acl_set_mode()
/fs/gfs2/
Dinode.c1599 umode_t new_mode = nip->i_inode.i_mode; in gfs2_exchange() local
1620 if (S_ISDIR(new_mode)) { in gfs2_exchange()
1667 if (S_ISDIR(new_mode)) { in gfs2_exchange()
1680 error = update_moved_ino(nip, odip, S_ISDIR(new_mode)); in gfs2_exchange()
1690 IF2DT(new_mode)); in gfs2_exchange()
1695 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) { in gfs2_exchange()
1698 } else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) { in gfs2_exchange()
/fs/dlm/
Duser.c784 int old_mode, new_mode; in device_read() local
867 new_mode = cb.mode; in device_read()
870 dlm_lvb_operations[old_mode + 1][new_mode + 1]) in device_read()