[PATCH 15/49] ext4: store maxbytes for bitmapped files and return EFBIG as appropriate

2008-01-21 Thread Theodore Ts'o
From: Eric Sandeen <[EMAIL PROTECTED]> Calculate & store the max offset for bitmapped files, and catch too-large seeks, truncates, and writes in ext4, shortening or rejecting as appropriate. Signed-off-by: Eric Sandeen <[EMAIL PROTECTED]> --- fs/ext4/file.c | 19

[PATCH 15/49] ext4: store maxbytes for bitmapped files and return EFBIG as appropriate

2008-01-21 Thread Theodore Ts'o
From: Eric Sandeen [EMAIL PROTECTED] Calculate store the max offset for bitmapped files, and catch too-large seeks, truncates, and writes in ext4, shortening or rejecting as appropriate. Signed-off-by: Eric Sandeen [EMAIL PROTECTED] --- fs/ext4/file.c | 19 ++-