ceph: fix dangling pointer
authorSage Weil <sage@newdream.net>
Thu, 11 Nov 2010 23:24:06 +0000 (15:24 -0800)
committerSage Weil <sage@newdream.net>
Thu, 11 Nov 2010 23:24:06 +0000 (15:24 -0800)
commita1629c3b24f26ec1b0f534874af674a6b4c1540b
tree7b40b54486f68189cde9753aca31d8e3d8af61a2
parentc5c6b19d4b8f5431fca05f28ae9e141045022149
ceph: fix dangling pointer

Clear fi->last_name when it's freed.  The only caller is rewinddir() (or
equivalent lseek).

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/dir.c