]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit182f9dd1cdf52e2b7d6aa7a31093f7926819cb0a
treeb204814a30df3e5ef5f21032ee8fb3639249b99a
parentbe7bd1b2ec5d97cba6cc457694e363b158bd55d7
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