diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-07 21:12:51 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 07:44:19 +0200 |
commit | fb408e6ccc32404a05783911b6f3fed56bd17b06 (patch) | |
tree | ad19408c2e4b2f8eaac9e3dc541f432fc85bc2fd /fs/cachefiles | |
parent | Make ->d_sb assign-once and always non-NULL (diff) | |
download | linux-fb408e6ccc32404a05783911b6f3fed56bd17b06.tar.xz linux-fb408e6ccc32404a05783911b6f3fed56bd17b06.zip |
get rid of pointless checks for dentry->sb == NULL
it never is...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r-- | fs/cachefiles/bind.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cachefiles/bind.c b/fs/cachefiles/bind.c index a2603e7c0bb5..e10c4415e8c3 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 || !root->d_sb->s_op || !root->d_sb->s_op->statfs || !root->d_sb->s_op->sync_fs) |