]> wimlib.net Git - wimlib/blobdiff - src/iterate_dir.c
New helper function: inode_has_security_descriptor()
[wimlib] / src / iterate_dir.c
index 5bf138cc49e33c1da83ec9fbf9c922b29d2e474f..451143a765f9015236345f40f01640e07d646a7a 100644 (file)
@@ -109,7 +109,7 @@ init_wimlib_dentry(struct wimlib_dir_entry *wdentry, struct wim_dentry *dentry,
        for (struct wim_dentry *d = dentry; !dentry_is_root(d); d = d->d_parent)
                wdentry->depth++;
 
-       if (inode->i_security_id >= 0) {
+       if (inode_has_security_descriptor(inode)) {
                struct wim_security_data *sd;
 
                sd = wim_get_current_security_data(wim);