PATCH: Additional bug check for new fs implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm working on fscache support for the Ceph filesystem. There's a
particular bug in my code that caused a null dereference that i had a
hell of a time figuring out. For a data cookie I didn't set an
get_attr callback. So for future implementers of the cachefs I've
added an extra check via BUG_ON.

I've attached the patch.

Thanks,
- Milosz
--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux