summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-07 21:45:59 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 07:44:21 +0200
commite7f59097071f2e193e900093742a4be85839f3d9 (patch)
tree35cc747b65d29fdc4f6dea472bf75b540da20453 /fs/cachefiles
parentbtrfs: kill magical embedded struct superblock (diff)
downloadlinux-e7f59097071f2e193e900093742a4be85839f3d9.tar.xz
linux-e7f59097071f2e193e900093742a4be85839f3d9.zip
kill useless checks for sb->s_op == NULL
never is... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r--fs/cachefiles/bind.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cachefiles/bind.c b/fs/cachefiles/bind.c
index e10c4415e8c3..622f4696e484 100644
--- a/fs/cachefiles/bind.c
+++ b/fs/cachefiles/bind.c
@@ -129,7 +129,6 @@ static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache)
!root->d_inode->i_op->mkdir ||
!root->d_inode->i_op->setxattr ||
!root->d_inode->i_op->getxattr ||
- !root->d_sb->s_op ||
!root->d_sb->s_op->statfs ||
!root->d_sb->s_op->sync_fs)
goto error_unsupported;