commit | 75de46b98dda624397ccb17c106e51f478a79c15 | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@suse.de> | Mon May 31 17:58:02 2010 +1000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jun 04 13:27:53 2010 -0700 |
tree | 8c4cf43eb8f840e84a48d387928673bcccd03d66 | |
parent | 743db2d903bc4e963a31496328d847d69f75047c [diff] |
fix setattr error handling in sysfs, configfs sysfs and configfs setattr functions have error cases after the generic inode's attributes have been changed. Fix consistency by changing the generic inode attributes only when it is guaranteed to succeed. Signed-off-by: Nick Piggin <npiggin@suse.de> Acked-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>