UBUNTU: ubuntu: AUFS -- track changes to llseek in v2.6.37-rc1
authorAndy Whitcroft <apw@canonical.com>
Sun, 7 Nov 2010 13:18:11 +0000 (13:18 +0000)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:50:32 +0000 (06:50 -0700)
The commit below changed the default llseek function to no_llseek,
reinstate the previous default for aufs2:

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

    vfs: make no_llseek the default

Signed-off-by: Andy Whitcroft <apw@canonical.com>

ubuntu/aufs/f_op.c

index ff918db..67f2a5b 100644 (file)
@@ -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,