diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-27 11:03:58 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-27 11:03:58 +0200 |
commit | 18fc84dafaac1fd63d5e6e600058eada8fc7914b (patch) | |
tree | d48fc9b796c75e21ed5fbc7777755dd824941b46 /fs/cachefiles | |
parent | 1cd66c93ba8cdb873258f58ae6a817b28a02bcc3 (diff) | |
download | linux-stable-18fc84dafaac1fd63d5e6e600058eada8fc7914b.tar.gz linux-stable-18fc84dafaac1fd63d5e6e600058eada8fc7914b.tar.bz2 linux-stable-18fc84dafaac1fd63d5e6e600058eada8fc7914b.zip |
vfs: remove unused i_op->rename
No in-tree uses remain.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r-- | fs/cachefiles/namei.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c index 3f7c2cd41f8f..02e1507812de 100644 --- a/fs/cachefiles/namei.c +++ b/fs/cachefiles/namei.c @@ -804,8 +804,7 @@ struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, !d_backing_inode(subdir)->i_op->lookup || !d_backing_inode(subdir)->i_op->mkdir || !d_backing_inode(subdir)->i_op->create || - (!d_backing_inode(subdir)->i_op->rename && - !d_backing_inode(subdir)->i_op->rename2) || + !d_backing_inode(subdir)->i_op->rename2 || !d_backing_inode(subdir)->i_op->rmdir || !d_backing_inode(subdir)->i_op->unlink) goto check_error; |