Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
[firefly-linux-kernel-4.4.55.git] / include / linux / fs_struct.h
index a97c053d3a9ae2b9063da2b67c374be3145fd05a..18b467dbe278bf4b399274ff272355d2984530ce 100644 (file)
@@ -4,7 +4,10 @@
 #include <linux/path.h>
 
 struct fs_struct {
-       atomic_t count;
+       atomic_t count; /* This usage count is used by check_unsafe_exec() for
+                        * security checking purposes - therefore it may not be
+                        * incremented, except by clone(CLONE_FS).
+                        */
        rwlock_t lock;
        int umask;
        struct path root, pwd;