diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-20 17:25:39 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-20 17:25:39 -0500 |
commit | b5898cd057001336888b6aff601385b5f5e79b01 (patch) | |
tree | 80f456b6b879c84800f7006e98b29e9c6bdd3831 /kernel | |
parent | 2a46eed54a28c1e3de701ca4237ce4f8bebf14c6 (diff) | |
parent | 31dec1327e377b6d91a8a6c92b5cd8513939a233 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs bits and pieces from Al Viro:
"Assorted bits that got missed in the first pull request + fixes for a
couple of coredump regressions"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
fold try_to_ascend() into the sole remaining caller
dcache.c: get rid of pointless macros
take read_seqbegin_or_lock() and friends to seqlock.h
consolidate simple ->d_delete() instances
gfs2: endianness misannotations
dump_emit(): use __kernel_write(), not vfs_write()
dump_align(): fix the dumb braino
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/cgroup.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index e0839bcd48c8..4c62513fe19f 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -895,11 +895,6 @@ static void cgroup_diput(struct dentry *dentry, struct inode *inode) | |||
895 | iput(inode); | 895 | iput(inode); |
896 | } | 896 | } |
897 | 897 | ||
898 | static int cgroup_delete(const struct dentry *d) | ||
899 | { | ||
900 | return 1; | ||
901 | } | ||
902 | |||
903 | static void remove_dir(struct dentry *d) | 898 | static void remove_dir(struct dentry *d) |
904 | { | 899 | { |
905 | struct dentry *parent = dget(d->d_parent); | 900 | struct dentry *parent = dget(d->d_parent); |
@@ -1486,7 +1481,7 @@ static int cgroup_get_rootdir(struct super_block *sb) | |||
1486 | { | 1481 | { |
1487 | static const struct dentry_operations cgroup_dops = { | 1482 | static const struct dentry_operations cgroup_dops = { |
1488 | .d_iput = cgroup_diput, | 1483 | .d_iput = cgroup_diput, |
1489 | .d_delete = cgroup_delete, | 1484 | .d_delete = always_delete_dentry, |
1490 | }; | 1485 | }; |
1491 | 1486 | ||
1492 | struct inode *inode = | 1487 | struct inode *inode = |