• Fang Wenqi's avatar
    fuse: fix large stack use · b2d82ee3
    Fang Wenqi authored
    gcc 4.4 warns about:
      fs/fuse/dev.c: In function ‘fuse_notify_inval_entry’:
      fs/fuse/dev.c:925: warning: the frame size of 1060 bytes is larger than 1024 bytes
    
    The problem is we declare two structures and a large array on the stack,
    I move the array alway from the stack and allocate memory for it dynamically.
    Signed-off-by: default avatarFang Wenqi <antonf@turbolinux.com.cn>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    b2d82ee3
dev.c 29.3 KB