| To: | sgi.bugs.xfs@xxxxxxxxxxxx |
|---|---|
| Subject: | PARTIAL TAKE 980084 - Check for errors when changing buffer pointers. |
| From: | dgc@xxxxxxx (David Chinner) |
| Date: | Thu, 10 Apr 2008 10:54:23 +1000 (EST) |
| Cc: | xfs@xxxxxxxxxxx |
| Sender: | xfs-bounce@xxxxxxxxxxx |
Check for errors when changing buffer pointers. xfs_buf_associate_memory() can fail, but the return is never checked. Propagate the error through XFS_BUF_SET_PTR() so that failures are detected. Date: Thu Apr 10 10:54:04 AEST 2008 Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs Inspected by: xaiki@xxxxxxx The following file(s) were checked into: longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb Modid: xfs-linux-melb:xfs-kern:30831a fs/xfs/xfs_log_recover.c - 1.343 - changed http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log_recover.c.diff?r1=text&tr1=1.343&r2=text&tr2=1.342&f=h - Check for errors when changing buffer pointers. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | PARTIAL TAKE 980084 - Don't allow silent errors in xfs_inactive()., David Chinner |
|---|---|
| Next by Date: | TAKE 980084 - Catch log unmount failures., David Chinner |
| Previous by Thread: | PARTIAL TAKE 980084 - Don't allow silent errors in xfs_inactive()., David Chinner |
| Next by Thread: | TAKE 980084 - Catch log unmount failures., David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |