smack-team / smack

Smack userspace
GNU Lesser General Public License v2.1
41 stars 33 forks source link

Avoid memory allocation while opening smackfs files. #72

Closed rafal-krypa closed 11 years ago

rafal-krypa commented 11 years ago

Using openat() on pre-opened smackfs directory eliminates need to construct absolute path to a smackfs file before opening it.

This patch is very similar to 0426039, so maybe I missed some shortcomings that should be improved. Differences: