ocfs2: check ia_size limits in setattr
authorMark Fasheh <mark.fasheh@oracle.com>
Fri, 20 Jul 2007 19:02:14 +0000 (12:02 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 10 Aug 2007 00:25:38 +0000 (17:25 -0700)
commitce76fd30ce98cdaeb38dca0dfbb3fa6d2801c5ce
treeb204814a30df3e5ef5f21032ee8fb3639249b99a
parent7c08d70c69150148c14f02633855f1591219c37c
ocfs2: check ia_size limits in setattr

We have to manually check the requested truncate size as the check in
vmtruncate() comes too late for Ocfs2.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/file.c