]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sysfs: implement bin_buffer
authorTejun Heo <htejun@gmail.com>
Wed, 13 Jun 2007 18:45:16 +0000 (03:45 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:04 +0000 (16:09 -0700)
commiteb36165353d0e5ac32b063f555acedcbaf6d3b75
treeb9ce2b45fb972921aa9f02bbe1149d2d85f3ed36
parent2b29ac252afff87b8465b064ca2d9740cf1f6e52
sysfs: implement bin_buffer

Implement bin_buffer which contains a mutex and pointer to PAGE_SIZE
buffer to properly synchronize accesses to per-openfile buffer and
prepare for immediate-kobj-disconnect.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/bin.c