+ inotify-fix-undefined-reference-to-anon_inode_getfd.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     inotify: fix "undefined reference to `anon_inode_getfd'"
has been added to the -mm tree.  Its filename is
     inotify-fix-undefined-reference-to-anon_inode_getfd.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: inotify: fix "undefined reference to `anon_inode_getfd'"
From: Russell King <rmk@xxxxxxxxxxxxxxxx>

Fix:

fs/built-in.o: In function `sys_inotify_init1':
summary.c:(.text+0x347a4): undefined reference to `anon_inode_getfd'

found by kautobuild with arms bcmring_defconfig, which ends up with
INOTIFY_USER enabled (through the 'default y') but leaves ANON_INODES
unset.  However, inotify_user.c uses anon_inode_getfd().

Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
Cc: John McCutchan <john@xxxxxxxxxxxxxxxxx>
Cc: Robert Love <rlove@xxxxxxxxx>
Cc: Eric Paris <eparis@xxxxxxxxxxxxxx>
Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/notify/inotify/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff -puN fs/notify/inotify/Kconfig~inotify-fix-undefined-reference-to-anon_inode_getfd fs/notify/inotify/Kconfig
--- a/fs/notify/inotify/Kconfig~inotify-fix-undefined-reference-to-anon_inode_getfd
+++ a/fs/notify/inotify/Kconfig
@@ -1,6 +1,7 @@
 config INOTIFY_USER
 	bool "Inotify support for userspace"
 	select FSNOTIFY
+	select ANON_INODES
 	default y
 	---help---
 	  Say Y here to enable inotify support for userspace, including the
_

Patches currently in -mm which might be from rmk@xxxxxxxxxxxxxxxx are

linux-next.patch
inotify-fix-undefined-reference-to-anon_inode_getfd.patch
sched-prevent-compiler-from-optimising-sched_avg_update-loop.patch
arm-convert-proc-cpu-aligment-to-seq_file.patch
arch-arm-include-asm-elfh-forward-declare-the-task-struct.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux