]> err.no Git - linux-2.6/blobdiff - fs/buffer.c
nfsd: unsupported nfs4 ops should fail with nfserr_opnotsupp
[linux-2.6] / fs / buffer.c
index 22ed55198f3dca8ab1006051eb734b2e7a3d4ce7..a073f3f4f013c5c349afede7edb715672bfd4928 100644 (file)
@@ -1101,7 +1101,7 @@ grow_buffers(struct block_device *bdev, sector_t block, int size)
 
                printk(KERN_ERR "%s: requested out-of-range block %llu for "
                        "device %s\n",
-                       __FUNCTION__, (unsigned long long)block,
+                       __func__, (unsigned long long)block,
                        bdevname(bdev, b));
                return -EIO;
        }
@@ -2211,8 +2211,8 @@ out:
        return err;
 }
 
-int cont_expand_zero(struct file *file, struct address_space *mapping,
-                       loff_t pos, loff_t *bytes)
+static int cont_expand_zero(struct file *file, struct address_space *mapping,
+                           loff_t pos, loff_t *bytes)
 {
        struct inode *inode = mapping->host;
        unsigned blocksize = 1 << inode->i_blkbits;