]> wimlib.net Git - wimlib/blobdiff - src/ntfs-3g_capture.c
Reduce stack usage of recursive scan functions
[wimlib] / src / ntfs-3g_capture.c
index 842f539c6db2f65a546cc061daadadd785632004..5a97cff04e560252fb13cbde6f7d0f8c5f92f53f 100644 (file)
@@ -398,7 +398,7 @@ out_put_actx:
 
 /* Load the security descriptor of an NTFS inode into the corresponding WIM
  * inode and the WIM image's security descriptor set.  */
-static int
+static noinline_for_stack int
 get_security_descriptor(ntfs_inode *ni, struct wim_inode *inode,
                        ntfs_volume *vol, struct wim_sd_set *sd_set)
 {