summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/bind.c
diff options
context:
space:
mode:
authorAl Viro2014-02-01 10:43:32 +0100
committerAl Viro2014-04-02 05:19:16 +0200
commit627bf81ac625f05060db033a0f3791521ad7bd79 (patch)
tree5c88cb13dae2529cf4c778416c88b6c13cd4f38f /fs/cachefiles/bind.c
parentntfs: don't put NULL into ->i_op/->i_fop (diff)
downloadkernel-qcow2-linux-627bf81ac625f05060db033a0f3791521ad7bd79.tar.gz
kernel-qcow2-linux-627bf81ac625f05060db033a0f3791521ad7bd79.tar.xz
kernel-qcow2-linux-627bf81ac625f05060db033a0f3791521ad7bd79.zip
get rid of pointless checks for NULL ->i_op
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cachefiles/bind.c')
-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 622f4696e484..5b99bafc31d1 100644
--- a/fs/cachefiles/bind.c
+++ b/fs/cachefiles/bind.c
@@ -124,7 +124,6 @@ static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache)
/* check parameters */
ret = -EOPNOTSUPP;
if (!root->d_inode ||
- !root->d_inode->i_op ||
!root->d_inode->i_op->lookup ||
!root->d_inode->i_op->mkdir ||
!root->d_inode->i_op->setxattr ||