commit | 8718d36cf99f5acf0f37487557ec25aee54b930b | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@suse.de> | Mon May 31 17:58:02 2010 +1000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Jun 04 17:16:29 2010 -0400 |
tree | 3417c944630f4719dcee113ceb646e5ad743cee6 | |
parent | 5b54470daded19d83ea2bbf5f6bc12662942cd63 [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> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>