Whamcloud - gitweb
b=23701 remove a variable from stack, allocate from slab
authorAndrew Perepechko <andrew.perepechko@sun.com>
Sat, 11 Sep 2010 17:45:35 +0000 (21:45 +0400)
committerAndrew Perepechko <andrew.perepechko@sun.com>
Sat, 11 Sep 2010 17:45:35 +0000 (21:45 +0400)
commit81f2acd7f718a12e2f9fdac6dbdc0bd318e27546
treeae8e148e5c771fe4d9a31fe77f1868c10d78096c
parent32a1e386669f972e174aca2cce582c8262213aae
b=23701 remove a variable from stack, allocate from slab

Through the assembly of mds_open from the crash dump, it seems,
although the iattr var declaration is put into a compound statement,
the stack for the variable is reserved from the beginning to the
end of mds_open processing. According to crash, the size of iattr is 80 bytes.

i=Oleg Drokin
i=Alexander Zarochentsev
lustre/mds/mds_open.c