summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/Makefile
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2006-03-25 12:07:00 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 17:22:51 +0100
commit619d5d8a2b3f800ea3a0301a58ede570684956b0 (patch)
tree8c256c7d50534a5da1b991fb53184c1b10bdc538 /fs/sysfs/Makefile
parent[PATCH] reiserfs: handle trans_id overflow (diff)
downloadlinux-619d5d8a2b3f800ea3a0301a58ede570684956b0.tar.xz
linux-619d5d8a2b3f800ea3a0301a58ede570684956b0.zip
[PATCH] reiserfs: reiserfs_file_write() will lose error code when a 0-length write occurs w/ O_SYNC
When an error occurs in reiserfs_file_write before any data is written, and O_SYNC is set, the return code of generic_osync_write will overwrite the error code, losing it. This patch ensures that generic_osync_inode() doesn't run under an error condition, losing the error. This duplicates the logic from generic_file_buffered_write(). Signed-off-by: Jeff Mahoney <jeffm@suse.com> Cc: Chris Mason <mason@suse.com> Cc: Jeff Mahoney <jeffm@suse.com> Cc: Alexander Zarochentsev <zam@namesys.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/sysfs/Makefile')
0 files changed, 0 insertions, 0 deletions