summaryrefslogtreecommitdiffstats
path: root/crypto/internal.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2012-02-21 17:04:28 +0800
committerDavid Sterba <dsterba@suse.cz>2012-04-18 19:12:44 +0200
commit848cce0d4102b5b4b26b0987b43e1919d462afe2 (patch)
tree92f2be7324929c9b213c1fcd616b11cc1a479d20 /crypto/internal.h
parentd53ba47484ed6245e640ee4bfe9d21e9bfc15765 (diff)
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>
Diffstat (limited to 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions