Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Sat, 2 Aug 2003 03:50:11 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] [3/3] writes: fix spurious fs truncate errors |
| |
Oliver Xymoron <oxymoron@waste.org> wrote: > > Get rid of newly exposed EIO errors from truncate races in filesystems >
One fix.
The reiserfs change looks OK from a breif scan, but I need to wake up a resierfs developer to take a look at it.
- Missing kunmap in CIFS.
fs/cifs/file.c | 1 + 1 files changed, 1 insertion(+)
diff -puN fs/cifs/file.c~awe-fix-truncate-errors-fixes fs/cifs/file.c --- 25/fs/cifs/file.c~awe-fix-truncate-errors-fixes 2003-08-02 03:28:02.000000000 -0700 +++ 25-akpm/fs/cifs/file.c 2003-08-02 03:28:02.000000000 -0700 @@ -456,6 +456,7 @@ cifs_partialpagewrite(struct page *page, /* racing with truncate? */ if(offset > mapping->host->i_size) { + kunmap(page); FreeXid(xid); return 0; /* don't care */ } _
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |