]> Pileus Git - ~andy/linux/blobdiff - fs/char_dev.c
[XFS] Don't allow silent errors in xfs_inactive().
[~andy/linux] / fs / char_dev.c
index 2c7a8b5b45989b25d40f8cb6a283d7ffb8940c5a..038674aa88a72c09a88388ee7cf1b54839675052 100644 (file)
@@ -357,7 +357,7 @@ void cdev_put(struct cdev *p)
 /*
  * Called every time a character special file is opened
  */
-int chrdev_open(struct inode * inode, struct file * filp)
+static int chrdev_open(struct inode *inode, struct file *filp)
 {
        struct cdev *p;
        struct cdev *new = NULL;