Skip to content

Commit 3eb07d2

Browse files
committed
Merge tag 'for-linus-5.0-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux
Pull orangefs fixlet from Mike Marshall: "Remove two un-needed BUG_ONs" * tag 'for-linus-5.0-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux: orangefs: remove two un-needed BUG_ONs...
2 parents 3a8ed36 + 6e356d4 commit 3eb07d2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

fs/orangefs/file.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,6 @@ static ssize_t orangefs_file_read_iter(struct kiocb *iocb, struct iov_iter *iter
398398
loff_t pos = iocb->ki_pos;
399399
ssize_t rc = 0;
400400

401-
BUG_ON(iocb->private);
402-
403401
gossip_debug(GOSSIP_FILE_DEBUG, "orangefs_file_read_iter\n");
404402

405403
orangefs_stats.reads++;
@@ -416,8 +414,6 @@ static ssize_t orangefs_file_write_iter(struct kiocb *iocb, struct iov_iter *ite
416414
loff_t pos;
417415
ssize_t rc;
418416

419-
BUG_ON(iocb->private);
420-
421417
gossip_debug(GOSSIP_FILE_DEBUG, "orangefs_file_write_iter\n");
422418

423419
inode_lock(file->f_mapping->host);

0 commit comments

Comments
 (0)