Li Zefan
848cce0d41
Btrfs: avoid setting ->d_op twice
...
Follow those instructions, and you'll trigger a warning in the
beginning of d_set_d_op():
# mkfs.btrfs /dev/loop3
# mount /dev/loop3 /mnt
# btrfs sub create /mnt/sub
# btrfs sub snap /mnt /mnt/snap
# touch /mnt/snap/sub
touch: cannot touch `tmp': Permission denied
__d_alloc() set d_op to sb->s_d_op (btrfs_dentry_operations), and
then simple_lookup() reset it to simple_dentry_operations, which
triggered the warning.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
2012-04-18 19:12:44 +02:00
..
2011-10-20 18:10:47 +02:00
2012-03-22 01:45:34 +01:00
2012-03-22 01:45:34 +01:00
2012-03-28 20:33:40 -04:00
2012-03-27 14:51:21 +02:00
2012-01-16 15:29:43 -05:00
2012-02-24 10:39:05 -05:00
2011-12-21 19:14:09 +01:00
2009-01-06 09:38:55 -05:00
2012-04-12 16:03:56 -04:00
2012-03-22 01:45:34 +01:00
2012-03-28 20:31:37 -04:00
2012-03-28 20:32:46 -04:00
2012-03-22 11:52:54 +01:00
2011-07-26 16:49:47 -07:00
2012-03-22 01:45:34 +01:00
2012-01-04 16:12:48 +01:00
2012-03-22 11:52:54 +01:00
2012-03-29 17:02:47 -04:00
2012-03-22 01:45:40 +01:00
2012-03-22 11:52:54 +01:00
2008-09-25 11:04:06 -04:00
2012-04-12 16:03:56 -04:00
2012-03-28 20:31:37 -04:00
2011-08-01 14:30:50 -04:00
2012-02-15 16:40:25 +01:00
2012-04-12 20:54:01 -04:00
2012-03-28 20:34:10 -04:00
2012-03-22 11:52:54 +01:00
2012-04-12 20:54:01 -04:00
2011-05-06 12:34:03 +02:00
2009-06-10 11:29:53 -04:00
2012-03-28 20:31:37 -04:00
2012-03-29 09:57:44 -04:00
2011-04-25 16:46:11 +08:00
2012-04-18 19:12:44 +02:00
2012-03-29 09:57:45 -04:00
2012-01-16 22:04:49 +02:00
2011-12-21 19:14:16 +01:00
2012-03-22 01:45:34 +01:00
2012-03-22 01:45:34 +01:00
2011-02-16 15:37:58 -05:00
2012-01-16 15:27:58 -05:00
2012-03-22 01:45:34 +01:00
2012-03-22 01:45:34 +01:00
2012-03-22 11:52:54 +01:00
2011-10-20 18:10:50 +02:00
2008-09-25 11:03:56 -04:00
2012-03-27 14:21:26 -04:00
2012-03-22 11:52:54 +01:00
2012-03-22 11:52:54 +01:00
2012-04-12 16:03:56 -04:00
2012-03-26 17:04:23 -04:00
2012-03-28 20:33:40 -04:00
2011-06-17 14:54:18 -04:00
2012-04-12 16:03:56 -04:00
2012-03-22 01:45:40 +01:00
2011-05-02 13:57:22 +02:00
2012-03-22 11:52:54 +01:00
2012-03-22 01:45:34 +01:00
2011-12-22 16:22:24 +01:00
2011-12-22 16:22:24 +01:00
2008-09-25 15:41:59 -04:00
2012-04-12 16:03:56 -04:00
2012-03-22 01:45:34 +01:00
2012-01-16 15:28:54 -05:00
2011-02-01 11:12:29 -05:00
2011-03-22 17:44:17 -07:00