aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorBruno PrĂ©mont <[email protected]>2010-03-15 14:55:40 +0100
committerJiri Kosina <[email protected]>2010-03-15 14:55:40 +0100
commit4da361b69102cdffe73006771eae7504d2cb8736 (patch)
treec6603f821d4eb3711571e1346185d1d2bd795b03 /fs/jbd/commit.c
parenta85821fce2c100a6680511f9693b76f9717fbdee (diff)
HID: register debugfs entries before adding device
Register debugfs entries before calling device_add() so debugfs entries are already present when HID driver's probe function gets called on device hotplug. Also undo debugfs entry registration if device_add() fails so status HID_STAT_ADDED and debugfs registration status remain consistent and we don't leak the debugfs entries. Signed-off-by: Bruno PrĂ©mont <[email protected]> Cc: Alan Stern <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions