From: Eric W. Biederman Date: Sat, 21 Nov 2009 00:08:50 +0000 (-0800) Subject: sysfs: Fix locking and factor out sysfs_sd_setattr X-Git-Tag: v2.6.33-rc1~314^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35df63c46c8605d00140ec4833d2104e2e9f1acc;p=pandora-kernel.git sysfs: Fix locking and factor out sysfs_sd_setattr Cleanly separate the work that is specific to setting the attributes of a sysfs_dirent from what is needed to update the attributes of a vfs inode. Additionally grab the sysfs_mutex to keep any nasties from surprising us when updating the sysfs_dirent. Acked-by: Tejun Heo Signed-off-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed