ocfs2_dlmfs: Don't honor truncate. The size of a dlmfs file is LVB_LEN
authorJoel Becker <joel.becker@oracle.com>
Wed, 10 Feb 2010 01:52:13 +0000 (17:52 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:18 +0000 (15:41 -0800)
commite8fce482f3702c1ad27c97b26db5022aa1fa64c7
tree053d990d2e20a569021b2037a993700a58bc83e2
parent553b5eb91abd5f8e679d23ae547b92c589726814
ocfs2_dlmfs: Don't honor truncate.  The size of a dlmfs file is LVB_LEN

We want folks using dlmfs to be able to use the LVB in places other than
just write(2)/read(2).  By ignoring truncate requests, we allow 'echo
"contents" > /dlm/space/lockname' to work.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlmfs/dlmfs.c