The commit below changed the default llseek function to no_llseek,
reinstate the previous default for aufs2:

  commit 776c163b1b93c8dfa5edba885bc2bfbc2d228a5f
  Author: Arnd Bergmann <a...@arndb.de>
  Date:   Wed Jul 7 23:10:11 2010 +0200

    vfs: make no_llseek the default

Signed-off-by: Andy Whitcroft <a...@canonical.com>
---
 ubuntu/aufs/f_op.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ubuntu/aufs/f_op.c b/ubuntu/aufs/f_op.c
index ff918db..67f2a5b 100644
--- a/ubuntu/aufs/f_op.c
+++ b/ubuntu/aufs/f_op.c
@@ -871,6 +871,7 @@ const struct file_operations aufs_file_fop = {
         * in aufs, it may be a real file and may confuse users by UDBA.
         */
        /* .llseek              = generic_file_llseek, */
+       .llseek         = default_llseek,
 
        .read           = aufs_read,
        .write          = aufs_write,
-- 
1.7.1


------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev

Reply via email to