aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2010-02-03 23:13:24 -0800
committerGreg Kroah-Hartman <[email protected]>2010-02-16 15:42:42 -0800
commit7c0ff870d1ed287504a61ed865f3d728c757436b (patch)
treed35c745ca95a72a0d6af1c51b06ca6f3eb93a254 /drivers/mtd/lpddr/lpddr_cmds.c
parent0813e22d4e0d618eac9b47bec942bf856adca4c5 (diff)
sysfs: sysfs_sd_setattr set iattrs unconditionally
There is currently a bug in sysfs_sd_setattr inherited from sysfs_setattr in 2.6.32 where the first time we set the attributes on a sysfs file we allocate backing store but do not set the backing store attributes. Resulting in overly restrictive permissions on sysfs files. The fix is to simply modify the code so that it always executes when we update the sysfs attributes, as we did in 2.6.31 and earlier. Signed-off-by: Eric W. Biederman <[email protected]> Tested-by: Jean Delvare <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions