]> git.baikalelectronics.ru Git - kernel.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)
commit1a940f6dfc49f026b630103e44ea64696d82ad3a
treeb9ce2b45fb972921aa9f02bbe1149d2d85f3ed36
parentfd27fe0ccf53aeb550dabe138414fe41aa685b35
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