X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fnfs%2Fsymlink.c;h=6c686112cc03fa3c3dcea70180653640d95aaeb9;hb=d39c9400ae0d60aaaf534b1ad860a9bc1413d8af;hp=600bbe630abd99cdc6e8f9074984495630c9adc1;hpb=6fa0cb1141da80eed4f86155fb51931bc1c31888;p=linux-2.6-omap-h63xx.git diff --git a/fs/nfs/symlink.c b/fs/nfs/symlink.c index 600bbe630ab..6c686112cc0 100644 --- a/fs/nfs/symlink.c +++ b/fs/nfs/symlink.c @@ -33,9 +33,7 @@ static int nfs_symlink_filler(struct inode *inode, struct page *page) { int error; - lock_kernel(); error = NFS_PROTO(inode)->readlink(inode, page, 0, PAGE_SIZE); - unlock_kernel(); if (error < 0) goto error; SetPageUptodate(page);