Home
last modified time | relevance | path

Searched hist:b2d82ee3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/fuse/
H A Ddev.cb2d82ee3 Wed Dec 30 04:37:13 CST 2009 Fang Wenqi <anton.fang@gmail.com> fuse: fix large stack use

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: Fang Wenqi <antonf@turbolinux.com.cn>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
b2d82ee3 Wed Dec 30 04:37:13 CST 2009 Fang Wenqi <anton.fang@gmail.com> fuse: fix large stack use

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: Fang Wenqi <antonf@turbolinux.com.cn>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>