projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
[deliverable/linux.git]
/
fs
/
block_dev.c
diff --git
a/fs/block_dev.c
b/fs/block_dev.c
index 5cbd5391667eed740f98df7b627903ec3a056d22..ada42cf42d0667a5d41be90daa203766854e3705 100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-1846,7
+1846,7
@@
struct block_device *lookup_bdev(const char *pathname)
if (!S_ISBLK(inode->i_mode))
goto fail;
error = -EACCES;
- if (
path.mnt->mnt_flags & MNT_NODEV
)
+ if (
!may_open_dev(&path)
)
goto fail;
error = -ENOMEM;
bdev = bd_acquire(inode);
This page took
0.059003 seconds
and
5
git commands to generate.